]> rtime.felk.cvut.cz Git - frescor/frsh.git/blob - doc/Makefile
frsh: Update negotiation test
[frescor/frsh.git] / doc / Makefile
1 FIGS = $(wildcard *.svg)
2
3 TARGETS = $(FIGS:%.svg=%.pdf) $(FIGS:%.svg=%.png)
4
5 all: $(TARGETS)
6
7 clean:
8         rm $(TARGETS)
9
10 %.png: %.svg
11         inkscape --export-area-drawing --export-png=$@ --export-background-opacity=1.0 $<
12
13 %.ps: %.svg
14         inkscape --export-ps=$@ $<
15
16 %-page.pdf: %.svg
17         inkscape --export-pdf=$@ $<
18
19 %-page.pdf: %.ps
20         ps2pdf $< $@
21
22 %.pdf: %-page.pdf
23         pdfcrop $< $@