Fix makefile fix 🙃

This commit is contained in:
Rhiannon Morris 2021-03-20 17:47:02 +01:00
parent 8b25a3d712
commit ddaf2b663a

View file

@ -71,7 +71,8 @@ $(TMPDIR)/index.mk: $(DATADIR)/index.yaml $(YAMLS) $(MAKEPAGES)
$(call depend-gallery)
NODEPS := mostlyclean clean distclean list-tags
ifeq ($(filter-out $(NODEPS),$(MAKECMDGOALS)),)
GOALS := $(if $(strip $(MAKECMDGOALS)),$(strip $(MAKECMDGOALS)),all)
ifneq ($(filter-out $(NODEPS),$(GOALS)),)
-include $(TMPDIR)/index.mk
endif