commit c9bb4783d3a90c8a462caf50d913183eeffa1e4f
parent c964b0fce81e9d397534d904e03f0060016238d7
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Tue, 9 Mar 2021 20:06:53 +0100
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.
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git 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 $< $@