rename galleries.yaml to index.yaml

This commit is contained in:
Rhiannon Morris 2020-07-19 12:08:44 +02:00
parent 02a09f3e5d
commit eecb750059
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ BSTATIC := $(patsubst %,$(BUILDDIR)/%,$(STATIC))
all: build
build: $(BUILDDIR)/index.html $(BSTATIC)
$(BUILDDIR)/index.html: $(DATADIR)/galleries.yaml $(MAKEPAGES)
$(BUILDDIR)/index.html: $(DATADIR)/index.yaml $(MAKEPAGES)
echo "[index] "$@
mkdir -p $(dir $@)
$(MAKEPAGES) $(MPFLAGS) index $< -o $@
@ -69,13 +69,13 @@ $(MAKEPAGES): make-pages/*.hs make-pages/make-pages.cabal
-exec cp {} $@ \;
$(TMPDIR)/galleries.mk: $(DATADIR)/galleries.yaml $(DATADIR) $(MAKEPAGES)
$(TMPDIR)/index.mk: $(DATADIR)/index.yaml $(DATADIR) $(MAKEPAGES)
echo "[deps] "$@
mkdir -p $(dir $@)
$(MAKEPAGES) $(MPFLAGS) depend-gallery $< -o $@ \
-B $(BUILDDIR) -D $(DATADIR) -T $(TMPDIR) -I $(INFONAME)
-include $(TMPDIR)/galleries.mk
-include $(TMPDIR)/index.mk
.PHONY: clean distclean