summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-09 20:22:45 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-09 20:22:45 +0100
commit5f8c48c5d32a5f720047b60b530375bb5bb532bc (patch)
tree92e1203cdf6790e72d0a9bf718ac844a579401e1
parent72c0097a737b21b1b14be8732db537d3098c8004 (diff)
downloadquatuorbellefeuille.com-5f8c48c5d32a5f720047b60b530375bb5bb532bc.tar.xz
Move targets around
-rw-r--r--Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 80fd7bd..3c8e8f8 100644
--- a/Makefile
+++ b/Makefile
@@ -23,15 +23,12 @@ stylesheets_folders = $(call dirnames,$(stylesheets))
all: site
-site: $(pages) $(members_pages) $(resources) $(images) $(stylesheets)
-
-$(resources): $(OUTDIR)/%: %
- cp $< $@
+clean:
+ -rm -r $(OUTDIR)
-$(images): $(OUTDIR)/%: %
- cp $< $@
+site: $(pages) $(members_pages) $(resources) $(images) $(stylesheets)
-$(stylesheets): $(OUTDIR)/%: %
+$(resources) $(images) $(stylesheets): $(OUTDIR)/%: %
cp $< $@
$(pages): $(OUTDIR)/%.html: %.html %.sh template.html
@@ -43,9 +40,6 @@ $(members_pages): $(OUTDIR)/%.html: %.membre.in build-member.sh template.html
$(OUTDIR)/quatuor.html: quatuor.md
$(OUTDIR)/programmes.html: programs.in
-clean:
- -rm -r $(OUTDIR)
-
# Rules for automatic, incremental folder creation.
# ⚠ Fail for intermediate folders which hold only subdirs.