pandoc/templates/Makefile
fiddlosopher b2fa8c7dd2 Moved ASCIIMathML.js, headers, and ui into templates.
Adjusted templates/Makefile and fillTemplates.pl as needed.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1106 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-11-29 02:03:04 +00:00

20 lines
544 B
Makefile

VPATH := ..
PROCESSOR := ./fillTemplates.pl
TARGETS := Text/Pandoc/ASCIIMathML.hs \
Text/Pandoc/Writers/S5.hs \
Text/Pandoc/Writers/DefaultHeaders.hs
all: $(TARGETS)
Text/Pandoc/ASCIIMathML.hs: ASCIIMathML.hs $(PROCESSOR) ASCIIMathML.js
perl $(PROCESSOR) $@ $(VPATH)
Text/Pandoc/Writers/S5.hs: S5.hs $(PROCESSOR) ui/default/*
perl $(PROCESSOR) $@ $(VPATH)
Text/Pandoc/Writers/DefaultHeaders.hs: DefaultHeaders.hs $(PROCESSOR) headers/*
perl $(PROCESSOR) $@ $(VPATH)
.PHONY: clean
clean:
cd $(VPATH); rm -f $(TARGETS)