summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-26 00:40:06 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-26 00:40:06 +0100
commitedd12ca03bc129c4e12dc706dda5aa1df86f931d (patch)
treec6ee3eb1f2e25841b8d8f0207e61cbac94052f05 /Makefile
parente17ad68625b6f2bf0579785322b11b2f2fb1e411 (diff)
downloadquatuorbellefeuille.com-edd12ca03bc129c4e12dc706dda5aa1df86f931d.tar.xz
Add Makefile for CI
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..abf07a9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+pages = $(wildcard *.html)
+sheets = $(wildcard *.css)
+targets = $(foreach f,$(pages) $(sheets),public/$(f))
+
+.PHONY: all clean site
+
+all: site
+
+site: $(targets)
+
+public:
+ mkdir $@
+
+$(targets): public/%: % | public
+ cp $< $@
+
+clean:
+ rm -r public