diff options
author | Nao Pross <naopross@thearcway.org> | 2019-01-19 21:37:12 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-01-19 21:37:12 +0100 |
commit | 636ac918c245cc16cd69d5ded6dd5a7d4ec68633 (patch) | |
tree | 7bdeccef9a28e3567dd4a5d2b434446e8bc66485 /ninja/rules.ninja | |
parent | Update README.md (diff) | |
download | cookbook-writing.tar.gz cookbook-writing.zip |
Add ninja files to build pdf and html with pandocwriting
Diffstat (limited to '')
-rw-r--r-- | ninja/rules.ninja | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ninja/rules.ninja b/ninja/rules.ninja new file mode 100644 index 0000000..3e67144 --- /dev/null +++ b/ninja/rules.ninja @@ -0,0 +1,11 @@ +rule mkdir + command = mkdir -p $out + description = Creating directory $out + +rule pdf + command = pandoc -f markdown $in -t latex --latex-engine=xelatex -o $out + description = Building pdf $out + +rule html + command = pandoc -f markdown $in -t html --ascii -o $out + description = Building html $out |