add maude syntax
This commit is contained in:
parent
3f989733ee
commit
e5d888ae01
3 changed files with 120 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue