add icons utility make target.

This commit is contained in:
Campbell Barton
2013-08-27 10:03:37 +00:00
parent ff4e018753
commit d90d25ec78
3 changed files with 14 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
#!/bin/sh
# This script updates icons from the SVG file
inkscape blender_icons.svg --export-dpi=90 --without-gui --export-png=blender_icons16.png
inkscape blender_icons.svg --export-dpi=180 --without-gui --export-png=blender_icons32.png
BASEDIR=$(dirname $0)
inkscape $BASEDIR/blender_icons.svg --export-dpi=90 --without-gui --export-png=$BASEDIR/blender_icons16.png
inkscape $BASEDIR/blender_icons.svg --export-dpi=180 --without-gui --export-png=$BASEDIR/blender_icons32.png

View File

@@ -1,4 +1,7 @@
#!/bin/sh
# This script updates icons from the SVG file
inkscape prvicons.svg --without-gui --export-png=prvicons.png
BASEDIR=$(dirname $0)
inkscape $BASEDIR/prvicons.svg --without-gui --export-png=$BASEDIR/prvicons.png