From abe13f4e73c2e15b26ef9fa3334e88ad97c5a126 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Mon, 8 Mar 2021 21:59:45 +0100 Subject: Move all programs into a single file This means we do not need to keep track of their order out-of-band, and it will allow members to edit them without me whipping up an ad-hoc file-upload dialog on the admin page. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 88cfa78..833931f 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,8 @@ dirnames = $(sort $(call dirname,$(1))) pages_src = $(filter-out template.html,$(wildcard *.html)) pages = $(foreach p,$(pages_src),$(OUTDIR)/$(p)) -members_src = $(basename $(wildcard *.in)) -members_pages = $(foreach m,$(members_src),$(OUTDIR)/$(m).html) +members_src = $(wildcard *.membre.in) +members_pages = $(patsubst %.membre.in,$(OUTDIR)/%.html,$(members_src)) feeds = $(wildcard *.xml) resources_src = $(feeds) @@ -40,11 +40,11 @@ $(stylesheets): $(OUTDIR)/%: % | $(stylesheets_folders) $(pages): $(OUTDIR)/%.html: %.html %.sh template.html | $(OUTDIR) ./build.sh $< $*.sh $@ -$(members_pages): $(OUTDIR)/%.html: %.in build-member.sh template.html | $(OUTDIR) +$(members_pages): $(OUTDIR)/%.html: %.membre.in build-member.sh template.html | $(OUTDIR) ./build-member.sh $< $@ $(OUTDIR)/quatuor.html: quatuor.md -$(OUTDIR)/programmes.html: $(wildcard programs/*) +$(OUTDIR)/programmes.html: programs.in clean: -rm -r $(OUTDIR) -- cgit v1.2.3