SOURCE=gbp.mdwn PDF=$(SOURCE:mdwn=pdf) REVEALJS=$(SOURCE:mdwn=html) PICS = \ branches.png \ gbp-buildpackage.png \ popcon-vc-build-tools.png \ $(NULL) SOURCES = ${SOURCE} ${PICS} Makefile all: ${REVEALJS} ${PDF} ${REVEALJS}: ${SOURCES} pandoc -V transition=fade -V theme=moon -t revealjs -s ${SOURCE} -o ${REVEALJS} ${PDF}: ${SOURCES} pandoc -t beamer -s ${SOURCE} -o ${PDF}