posts depend on syntax defs

This commit is contained in:
rhiannon morris 2022-03-16 18:39:53 +01:00
parent 345a39c885
commit 81041fdb30

View file

@ -36,8 +36,8 @@ EXECS = \
CABAL_FLAGS ?= -O -v0
SYNTAXDIR := syntax
SYNTAXFLAGS = \
$(patsubst %,--syntax-definition=%,$(shell find $(SYNTAXDIR) -name '*.xml'))
SYNTAXFILES != find $(SYNTAXDIR) -name *.xml
SYNTAXFLAGS = $(patsubst %,--syntax-definition=%,$(SYNTAXFILES))
.PHONY: all
all: build
@ -46,7 +46,7 @@ all: build
build: $(EXECS) $(OUTPUT)
POSTDEPS = $(TEMPLATEDIR)/* $(LANGFILTER) $(LAANTAS_SCRIPT)
POSTDEPS = $(TEMPLATEDIR)/* $(LANGFILTER) $(LAANTAS_SCRIPT) $(SYNTAXFILES)
$(TMPDIR)/all-tags.md $(TMPDIR)/tags.mk &: $(POSTS) $(ALL_TAGS)
@echo "[all-tags]"