-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (28 loc) · 848 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.DELETE_ON_ERROR:
.SECONDARY:
all: tigmint-slides.html
clean:
rm -f tigmint-slides.html
deploy: index.html
git checkout -B gh-pages
git add index.html
git commit -m 'Render index.html'
git push --force
git checkout master
install-deps:
brew install pandoc
%.html: %.md reveal.js/js/reveal.js
pandoc -st revealjs -V theme:sky -o $@ $<
%-self-contained.html: %.md reveal.js/js/reveal.js
pandoc -st revealjs -V theme:sky --self-contained -o $@ $<
index.html: tigmint-slides.html
cp $< $@
revealjs-3.5.0.tar.gz:
curl -L -o $@ https://github.com/hakimel/reveal.js/archive/3.5.0.tar.gz
reveal.js-3.5.0/js/reveal.js: revealjs-3.5.0.tar.gz
tar xf $<
touch $@
reveal.js/js/reveal.js: reveal.js-3.5.0/js/reveal.js
cp -a reveal.js-3.5.0 reveal.js
sed -i .orig -e 's/text-transform: uppercase;//' reveal.js/css/theme/sky.css
touch $@