From c9bb4783d3a90c8a462caf50d913183eeffa1e4f Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 9 Mar 2021 20:06:53 +0100 Subject: Simplify .SECONDEXPANSION use IIUC the "secondary expansion area" ranges from wherever the special target is defined to the end of the file; it's not a prefix to be slapped on individual targets. --- Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Makefile b/Makefile index 66f3da1..6fa182e 100644 --- a/Makefile +++ b/Makefile @@ -32,19 +32,15 @@ $(OUTDIR) $(images_folders) $(stylesheets_folders): $(resources): $(OUTDIR)/%: % | $$(@D) cp $< $@ -.SECONDEXPANSION: $(images): $(OUTDIR)/%: % | $$(@D) cp $< $@ -.SECONDEXPANSION: $(stylesheets): $(OUTDIR)/%: % | $$(@D) cp $< $@ -.SECONDEXPANSION: $(pages): $(OUTDIR)/%.html: %.html %.sh template.html | $$(@D) ./build.sh $< $*.sh $@ -.SECONDEXPANSION: $(members_pages): $(OUTDIR)/%.html: %.membre.in build-member.sh template.html | $$(@D) ./build-member.sh $< $@ -- cgit v1.2.3