fix weird conditional in makefile
This commit is contained in:
parent
7c0a1152c2
commit
ace57a50f9
1 changed files with 2 additions and 7 deletions
9
Makefile
9
Makefile
|
@ -70,15 +70,10 @@ $(MAKEPAGES): make-pages/*.hs make-pages/make-pages.cabal
|
||||||
$(TMPDIR)/index.mk: $(DATADIR)/index.yaml $(YAMLS) $(MAKEPAGES)
|
$(TMPDIR)/index.mk: $(DATADIR)/index.yaml $(YAMLS) $(MAKEPAGES)
|
||||||
$(call depend-gallery)
|
$(call depend-gallery)
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),mostlyclean)
|
NODEPS := mostlyclean clean distclean list-tags
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
ifeq ($(filter-out $(NODEPS),$(MAKECMDGOALS)),)
|
||||||
ifneq ($(MAKECMDGOALS),distclean)
|
|
||||||
ifneq ($(MAKECMDGOALS),list-tags)
|
|
||||||
-include $(TMPDIR)/index.mk
|
-include $(TMPDIR)/index.mk
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
.PHONY: clean distclean
|
.PHONY: clean distclean
|
||||||
|
|
Loading…
Reference in a new issue