SHELL = /bin/sh # ikiwiki .PHONY: all all: rm -f public_html/*.html pandoc lua pandoc/bavbavhaus.net.lua # dest .PHONY: dest dest: test -d "dest" || mkdir "dest" # docx dest/%.docx: notes/%.md\ pandoc/defaults/docx.yaml\ pandoc/reference-sl.docx\ pandoc/csl/chicago-fullnote-sl.csl\ pandoc/filters/pandoc-quotes.lua\ pandoc/filters/delink.lua\ | dest pandoc --data-dir=pandoc -ddocx -o $@ $< # pdf dest/%.pdf: notes/%.md\ pandoc/defaults/pdf.yaml\ pandoc/csl/chicago-fullnote-sl.csl\ | dest pandoc --data-dir=pandoc -dpdf -o $@ $< # presentation dest/%.s5.html: notes/%.md\ pandoc/defaults/s5.yaml\ pandoc/templates/default.s5\ pandoc/s5/default/pretty.css\ pandoc/s5/default/framing.css\ pandoc/csl/chicago-fullnote-sl.csl\ pandoc/filters/pandoc-quotes.lua\ | dest pandoc --data-dir=pandoc -ds5 -o $@ $<