summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-15 18:40:54 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-02-15 18:41:07 +0100
commit0aff71b7cf87a046a4f731cdfec69a449177318c (patch)
tree7fea6b3da7f7d7c9abc73658e53c91af3e64b681 /Makefile
parent2eeda668db31cea1d47ca45907b839d6b0f5f2b9 (diff)
downloadquatuorbellefeuille.com-0aff71b7cf87a046a4f731cdfec69a449177318c.tar.xz
Make parameter script mandatory
All pages were using it anyway.
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