don't generate deps for clean
This commit is contained in:
parent
3ea6f458fa
commit
be979b8c00
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue