diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2007-12-10 15:02:46 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2007-12-10 15:02:46 +0000 |
commit | 2ac41fbbaf8ed8dea1cd44f461e4fc4e9c990da1 (patch) | |
tree | 855d4d449848131c2260da47d9c124a736f7ed0e /images | |
parent | cba2aee25ff5b8946f4d1d8e7083a1d4e428a575 (diff) |
Updated.
Diffstat (limited to 'images')
-rw-r--r-- | images/Makefile | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/images/Makefile b/images/Makefile index 001c1413..90b15660 100644 --- a/images/Makefile +++ b/images/Makefile @@ -92,10 +92,26 @@ install: webpix ## With '1' as first argument to indicate "non-interactive", things ## don't work. With '0', we get popup menus and args are ignored! -%.xpm: %.xcf - $(GIMP) '(script-fu-proofgeneral-make-buttons "$(CWD)/$*")' '(gimp-quit 0)' +#%.xpm: %.xcf +# $(GIMP) '(script-fu-proofgeneral-make-buttons "$(CWD)/$*")' '(gimp-quit 0)' #%.jpg: %.xcf # $(GIMP) '(script-fu-proofgeneral-save-jpg 0 "$(CWD)/$*")' '(gimp-quit 0)' # cp -pf $*.jpg ../html + +## +## Inkscape SVG sources +## +SVG:=$(shell ls *.svg 2>/dev/null) + +INKS=$(SVG:.svg=.png) $(SVG:.svg=.xpm) + +inks: ${INKS} + +%.png: %.svg + inkscape --export-png $*.png $*.svg + +%.xpm: %.png + convert -antialias -colors 256 $*.png $*.xpm + |