add makefile depend-single stuff
This commit is contained in:
parent
d8f37d5d80
commit
0c187fff29
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue