add maude syntax

This commit is contained in:
rhiannon morris 2022-03-15 04:40:25 +01:00
parent 3f989733ee
commit e5d888ae01
3 changed files with 120 additions and 0 deletions

View file

@ -33,6 +33,10 @@ EXECS = \
CABAL_FLAGS ?= -O -v0
SYNTAXDIR := syntax
SYNTAXFLAGS = \
$(patsubst %,--syntax-definition=%,$(shell find $(SYNTAXDIR) -name '*.xml'))
.PHONY: all
all: build
@ -59,6 +63,7 @@ define pandoc
DIRNAME="$(basename $@)" \
FILENAME="$@" \
pandoc -s --toc --template $(TEMPLATEDIR)/$(1).html -o $@ $< \
$(SYNTAXFLAGS) \
--filter $(LANGFILTER) --filter $(NICE_DATE) --mathjax
endef