b2fa8c7dd2
Adjusted templates/Makefile and fillTemplates.pl as needed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1106 788f1e2b-df1e-0410-8736-df70ead52e1b
20 lines
544 B
Makefile
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)
|