diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-11-03 23:27:58 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-11-03 23:27:58 +0000 |
commit | fe684764e68e7eda281192f1fdd637a5bdb50e43 (patch) | |
tree | acd3377ff911700adad9609d475e115c89eddeb8 /src/templates/Makefile | |
parent | 4a841bfc5464907adea4cdd655485565565b40ae (diff) | |
download | pandoc-fe684764e68e7eda281192f1fdd637a5bdb50e43.tar.gz |
Reverted back to state as of r1062. The template haskell changes
are more trouble than they're worth.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1064 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/templates/Makefile')
-rw-r--r-- | src/templates/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/templates/Makefile b/src/templates/Makefile new file mode 100644 index 000000000..9522666c5 --- /dev/null +++ b/src/templates/Makefile @@ -0,0 +1,20 @@ +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) $(VPATH)/ASCIIMathML.js + perl $(PROCESSOR) $@ $(VPATH) + +Text/Pandoc/Writers/S5.hs: S5.hs $(PROCESSOR) $(VPATH)/ui/default/* + perl $(PROCESSOR) $@ $(VPATH) + +Text/Pandoc/Writers/DefaultHeaders.hs: DefaultHeaders.hs $(PROCESSOR) $(VPATH)/headers/* + perl $(PROCESSOR) $@ $(VPATH) + +.PHONY: clean +clean: + cd $(VPATH); rm -f $(TARGETS) |