blob: f6940a59f3b1b72c505f7edb8708289bd42babaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# -*- make -*-
svg_targets = $(wildcard *.svg)
pdf_targets = $(svg_targets:%.svg=%.pdf)
png_targets = $(svg_targets:%.svg=%.png)
png: $(png_targets)
$(png_targets): %.png : %.svg
inkscape -h 32 -w 32 --export-background=white --export-background-opacity=.5 --export-png=$@ $<
pdf: $(pdf_targets)
$(pdf_targets): %.pdf : %.svg
inkscape --export-pdf=$@ $<
clean:
real_clean: clean
rm -f $(pdf_targets) $(png_targets)
|