Mercurial > hg > Papers > 2018 > nozomi-master
comparison presentation/Makefile @ 115:d731f2d0947d
Add Makefile
author | atton <atton@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 13 Feb 2017 17:15:10 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
114:5cca315b0230 | 115:d731f2d0947d |
---|---|
1 # Settings | |
2 TARGET=slide | |
3 CONVERT=pdf2svg | |
4 | |
5 vpath pdf images | |
6 IMAGES=$(wildcard images/*.pdf) | |
7 IMAGES_FOR_SLIDE=$(subst .pdf,.svg,$(IMAGES)) | |
8 | |
9 | |
10 # dependencies | |
11 $(TARGET).html : $(TARGET).md $(IMAGES_FOR_SLIDE) | |
12 slideshow build -t s6cr $< | |
13 | |
14 %.svg: %.pdf | |
15 $(CONVERT) $< $@ | |
16 | |
17 | |
18 # commands | |
19 .PHONY : clean all open remake | |
20 | |
21 clean: | |
22 rm -rf *.html s6 scripts | |
23 | |
24 all: $(TARGET).html | |
25 | |
26 open: $(TARGET).html | |
27 open $(TARGET).html | |
28 | |
29 remake: | |
30 make clean | |
31 make all |