forked from zilogic-systems/workshop-sessions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
41 lines (27 loc) · 1004 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
39
40
41
TOPDIR = ../
EXPORT_WIDTH = 1024
images_dia = $(wildcard figures/*.dia)
images_png = $(images_dia:.dia=.png)
datauris = code/v6/full.datauri code/layered.dts.datauri
all: v2-dts-split v3-dts-split v4-dts-split v5-dts-split v6-dts-split v7-dts-split slides.html
figures/dts-inheritance.png: EXPORT_WIDTH = 2048
code/v6/full.datauri: MIMETYPE="text/plain;charset=us-ascii"
code/layered.dts.datauri: MIMETYPE="text/plain;charset=us-ascii"
v2-dts-split:
python $(TOPDIR)/scripts/split.py code/v2.dts
v3-dts-split:
python $(TOPDIR)/scripts/split.py code/v3.dts
v4-dts-split:
python $(TOPDIR)/scripts/split.py code/v4.dts
v5-dts-split:
python $(TOPDIR)/scripts/split.py code/v5.dts
v6-dts-split:
python $(TOPDIR)/scripts/split.py code/v6.dts
v7-dts-split:
python $(TOPDIR)/scripts/split.py code/v7.dts
slides.html: $(images_png) $(datauris)
clean:
rm -f $(images_png)
rm -f slides.html
rm -fr code/v2 code/v3 code/v4 code/v5 code/v6 code/v7
include $(TOPDIR)/stylesheets/Makefile.rules