From ddaf2b663a7abff79e5c4d305760d8ef888b157e Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Sat, 20 Mar 2021 17:47:02 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20makefile=20fix=20=F0=9F=99=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 45820b4..6d84b2b 100644 --- a/Makefile +++ b/Makefile @@ -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