add index page

This commit is contained in:
Rhiannon Morris 2020-07-16 16:29:32 +02:00
parent 375c6e833a
commit 3f025721c8
6 changed files with 63 additions and 8 deletions

View file

@ -13,10 +13,10 @@ YAMLS != find $(DATADIR) -iname "*.yaml"
all: make-pages $(BUILDDIR)/index.html
$(BUILDDIR)/index.html:
$(BUILDDIR)/index.html: $(DATADIR)/galleries.yaml $(MAKEPAGES)
echo "[index]"
mkdir -p $(dir $@)
touch $@ # FIXME
$(MAKEPAGES) index $< -o $@
$(MAKEPAGES): make-pages
echo "[make-pages]"