don't generate deps for clean

This commit is contained in:
Rhiannon Morris 2020-07-21 11:27:31 +02:00
parent 3ea6f458fa
commit be979b8c00
1 changed files with 4 additions and 0 deletions

View File

@ -62,7 +62,11 @@ $(TMPDIR)/index.mk: $(DATADIR)/index.yaml $(DATADIR) $(MAKEPAGES)
$(MAKEPAGES) $(MPFLAGS) depend-gallery $< -o $@ \
-B $(BUILDDIR) -D $(DATADIR) -T $(TMPDIR) -I $(INFONAME)
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
-include $(TMPDIR)/index.mk
endif
endif
.PHONY: clean distclean