author | Florian Pose <fp@igh-essen.com> |
Tue, 09 Aug 2011 22:10:45 +0200 | |
changeset 2098 | 0ce254664c81 |
parent 1771 | 7183fe5f27fa |
permissions | -rw-r--r-- |
1089 | 1 |
#----------------------------------------------------------------------------- |
2 |
# |
|
3 |
# $Id$ |
|
4 |
# |
|
5 |
#----------------------------------------------------------------------------- |
|
6 |
||
7 |
FIGS := \ |
|
1094
eb0258e53236
App interface; doxygen; bib.
Florian Pose <fp@igh-essen.com>
parents:
1089
diff
changeset
|
8 |
app-config.fig \ |
1293
a2a03519ee47
Prcess data; slave configuration + attachment; typos.
Florian Pose <fp@igh-essen.com>
parents:
1203
diff
changeset
|
9 |
attach.fig \ |
1517
b99f2f9cb73f
DC documentation; new callback mechanism; cstruct
Florian Pose <fp@igh-essen.com>
parents:
1293
diff
changeset
|
10 |
dc.fig \ |
1089 | 11 |
fmmus.fig \ |
12 |
fsm-coedown.fig \ |
|
13 |
fsm-eoe.fig \ |
|
14 |
interrupt.fig \ |
|
15 |
master-locks.fig \ |
|
16 |
masters.fig \ |
|
17 |
phases.fig \ |
|
18 |
statetrans.fig |
|
19 |
||
1771
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
20 |
FIGPDFS = $(FIGS:.fig=.pdf) |
1089 | 21 |
|
1771
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
22 |
SVGS := \ |
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
23 |
architecture.svg |
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
24 |
|
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
25 |
SVGPDFS = $(SVGS:.svg=.pdf) |
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
26 |
|
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
27 |
all: $(FIGPDFS) $(SVGPDFS) |
1089 | 28 |
|
29 |
%.pdf: %.fig |
|
30 |
fig2dev -L pdf -z A4 -p xxx -c $< $@ |
|
31 |
||
1771
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
32 |
%.pdf: %.svg |
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
33 |
inkscape --export-pdf=$@ $< |
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
34 |
|
1089 | 35 |
clean: |
1771
7183fe5f27fa
Auto-generate architecture pdf.
Florian Pose <fp@igh-essen.com>
parents:
1588
diff
changeset
|
36 |
@rm -rv $(FIGPDFS) $(SVGPDFS) |
1089 | 37 |
|
38 |
#----------------------------------------------------------------------------- |