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

View file

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