diff options
Diffstat (limited to 'icons/Makefile')
-rw-r--r-- | icons/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/icons/Makefile b/icons/Makefile new file mode 100644 index 0000000..122a3bc --- /dev/null +++ b/icons/Makefile @@ -0,0 +1,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 --export-png=$@ $< + +pdf: $(pdf_targets) + + +$(pdf_targets): %.pdf : %.svg + inkscape --export-pdf=$@ $< + +clean: + + +real_clean: clean + rm -f $(pdf_targets) + |