summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index af585b7..e8e790d 100644
--- a/Makefile
+++ b/Makefile
@@ -34,9 +34,8 @@ $(images): $(OUTDIR)/%: % | $(images_folders)
$(stylesheets): $(OUTDIR)/%: % | $(stylesheets_folders)
cp $< $@
-# TODO: optional dependency to .sh template parameters.
-$(pages): $(OUTDIR)/%.html: %.html template.html | $(OUTDIR)
- ./build.sh $< $@
+$(pages): $(OUTDIR)/%.html: %.html %.sh template.html | $(OUTDIR)
+ ./build.sh $< $*.sh $@
$(OUTDIR)/quatuor.html: quatuor.md