summaryrefslogtreecommitdiff
path: root/Makefile
blob: 40ceea3f73f35e55dff1cbf9240aaf2fec1eaf23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SOURCE=topics.mdwn
PDF=$(SOURCE:mdwn=pdf)
REVEALJS=$(SOURCE:mdwn=html)

IMAGES=$(wildcard *.png)

all: ${REVEALJS} ${PDF}

${REVEALJS}: ${SOURCE} ${IMAGES} Makefile reveal.js
	pandoc -V transition=fade -V theme=moon -t revealjs -s ${SOURCE} -o ${REVEALJS}

${PDF}: ${SOURCE} Makefile
	pandoc -t beamer -s ${SOURCE} -o ${PDF}

reveal.js:
	git clone https://github.com/hakimel/reveal.js.git
	git checkout 2.6.2