Browse files

adding support files

  • Loading branch information...
1 parent 204341e commit d82ad8dc99ba97b8cba0f7463582c6ec6a41a97c @bdarcus committed Jan 16, 2014
Showing with 18 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +16 −0 Makefile
View
2 .gitignore
@@ -0,0 +1,2 @@
+out/*
+
View
16 Makefile
@@ -0,0 +1,16 @@
+FILES = *.mdml
+PANDOC = pandoc -s
+CSS =screen.css
+OUTFN = rendition
+
+html: ${FILES} Makefile
+ ${PANDOC} -s -t html5 --section-divs -c ${CSS} -o out/${OUTFN}.html ${FILES}
+
+odt: ${FILES} Makefile
+ ${PANDOC} -s -t odt -o out/${OUTFN}.odt ${FILES}
+
+docx: ${FILES} Makefile
+ ${PANDOC} -s -t docx -o out/${OUTFN}.docx ${FILES}
+
+all: html odt docx
+

0 comments on commit d82ad8d

Please sign in to comment.