aboutsummaryrefslogtreecommitdiffstats
path: root/ninja/rules.ninja
blob: 3e671443c3606449ba705a32e3458f205eee1108 (plain)
1
2
3
4
5
6
7
8
9
10
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