diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-09 20:22:45 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-09 20:22:45 +0100 |
| commit | 5f8c48c5d32a5f720047b60b530375bb5bb532bc (patch) | |
| tree | 92e1203cdf6790e72d0a9bf718ac844a579401e1 | |
| parent | 72c0097a737b21b1b14be8732db537d3098c8004 (diff) | |
| download | quatuorbellefeuille.com-5f8c48c5d32a5f720047b60b530375bb5bb532bc.tar.xz | |
Move targets around
| -rw-r--r-- | Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -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. |
