rename galleries.yaml to index.yaml
This commit is contained in:
parent
02a09f3e5d
commit
eecb750059
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue