add makefile depend-single stuff

This commit is contained in:
Rhiannon Morris 2020-07-15 11:58:58 +02:00
parent d8f37d5d80
commit 0c187fff29
1 changed files with 7 additions and 0 deletions

View File

@ -38,6 +38,13 @@ $(BUILDDIR)/nsfw/%/index.html: $(DATADIR)/%/info.yaml
@mkdir -p $(dir $@)
@$(MAKEPAGES) single $< -o $@ -n
$(TMPDIR)/%.d: %.yaml
@echo "[deps] "$@
@mkdir -p $(dir $@)
@$(MAKEPAGES) depend-single $< -o $@
include $(TMPDIR)/$(YAMLS:.yaml=.d)
.PHONY: clean distclean
clean:
rm -rf $(BUILDDIR) $(TMPDIR)