diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-08 21:59:45 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-08 22:01:56 +0100 |
| commit | abe13f4e73c2e15b26ef9fa3334e88ad97c5a126 (patch) | |
| tree | a887f5a5589c2f2636d65c6a90970469c14aaa18 /Makefile | |
| parent | f2559fee5f7caeaa773fdd8708f11e2441976039 (diff) | |
| download | quatuorbellefeuille.com-abe13f4e73c2e15b26ef9fa3334e88ad97c5a126.tar.xz | |
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.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) |
