summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-09 20:06:53 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-09 20:06:53 +0100
commitc9bb4783d3a90c8a462caf50d913183eeffa1e4f (patch)
treea1abc8eeddf900cda63754ac925ebbe608b6077b
parentc964b0fce81e9d397534d904e03f0060016238d7 (diff)
downloadquatuorbellefeuille.com-c9bb4783d3a90c8a462caf50d913183eeffa1e4f.tar.xz
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.
-rw-r--r--Makefile4
1 files changed, 0 insertions, 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 $< $@