diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-11-26 00:40:06 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-11-26 00:40:06 +0100 |
| commit | edd12ca03bc129c4e12dc706dda5aa1df86f931d (patch) | |
| tree | c6ee3eb1f2e25841b8d8f0207e61cbac94052f05 | |
| parent | e17ad68625b6f2bf0579785322b11b2f2fb1e411 (diff) | |
| download | quatuorbellefeuille.com-edd12ca03bc129c4e12dc706dda5aa1df86f931d.tar.xz | |
Add Makefile for CI
| -rw-r--r-- | Makefile | 18 |
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 |
