From 0aff71b7cf87a046a4f731cdfec69a449177318c Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Mon, 15 Feb 2021 18:40:54 +0100 Subject: Make parameter script mandatory All pages were using it anyway. --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3