From 2ac41fbbaf8ed8dea1cd44f461e4fc4e9c990da1 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Mon, 10 Dec 2007 15:02:46 +0000 Subject: Updated. --- images/Makefile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'images') 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 + -- cgit v1.2.3