SOURCE=debian.mdwn PDF=$(SOURCE:mdwn=pdf) REVEALJS=$(SOURCE:mdwn=html) IMAGES=$(wildcard *.png) \ dgm.png all: ${REVEALJS} ${PDF} ${REVEALJS}: ${SOURCE} ${IMAGES} Makefile reveal.js pandoc -V transition=fade -V theme=godiug -t revealjs -s ${SOURCE} -o ${REVEALJS} sed -i -e 's,,
,' ${REVEALJS} ${PDF}: ${SOURCE} Makefile pandoc -t beamer -s ${SOURCE} -o ${PDF} dgm.png: dgm.csv dgm.plot gnuplot dgm.plot reveal.js: git clone https://github.com/hakimel/reveal.js.git git checkout 2.6.2 clean: rm -f dgm.png