look through symlink for data dir

This commit is contained in:
Rhiannon Morris 2021-05-24 12:58:28 +02:00
parent 3f77e880a6
commit cae894c7ba

View file

@ -13,7 +13,7 @@ MEDH := 1200
MAKEPAGES := $(TMPDIR)/make-pages MAKEPAGES := $(TMPDIR)/make-pages
YAMLS != find $(DATADIR) -name $(INFONAME) YAMLS != find -L $(DATADIR) -name $(INFONAME)
SCRIPTS != find script -name '*.js' SCRIPTS != find script -name '*.js'
STYLES != find style -name '*.css' STYLES != find style -name '*.css'
@ -73,7 +73,7 @@ $(TMPDIR)/index.mk: $(DATADIR)/index.yaml $(YAMLS) $(MAKEPAGES)
NODEPS := mostlyclean clean distclean list-tags NODEPS := mostlyclean clean distclean list-tags
GOALS := $(if $(strip $(MAKECMDGOALS)),$(strip $(MAKECMDGOALS)),all) GOALS := $(if $(strip $(MAKECMDGOALS)),$(strip $(MAKECMDGOALS)),all)
ifneq ($(filter-out $(NODEPS),$(GOALS)),) ifneq ($(filter-out $(NODEPS),$(GOALS)),)
-include $(TMPDIR)/index.mk include $(TMPDIR)/index.mk
endif endif