Skip to content
Snippets Groups Projects
Commit d90d25ec authored by Campbell Barton's avatar Campbell Barton
Browse files

add icons utility make target.

parent ff4e0187
Branches
No related tags found
No related merge requests found
...@@ -184,6 +184,7 @@ help: ...@@ -184,6 +184,7 @@ help:
@echo " * check_spelling_py - check for spelling errors (Python only)" @echo " * check_spelling_py - check for spelling errors (Python only)"
@echo "" @echo ""
@echo "Utilities (not associated with building blender)" @echo "Utilities (not associated with building blender)"
@echo " * icons - updates PNG icons from SVG files."
@echo " * tbz - create a compressed svn export 'blender_archive.tar.bz2'" @echo " * tbz - create a compressed svn export 'blender_archive.tar.bz2'"
@echo "" @echo ""
@echo "Documentation Targets (not associated with building blender)" @echo "Documentation Targets (not associated with building blender)"
...@@ -322,6 +323,10 @@ tbz: ...@@ -322,6 +323,10 @@ tbz:
rm -rf blender_archive/ rm -rf blender_archive/
@echo "blender_archive.tar.bz2 written" @echo "blender_archive.tar.bz2 written"
icons:
$(BLENDER_DIR)/release/datafiles/blender_icons.sh
$(BLENDER_DIR)/release/datafiles/prvicons.sh
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Documentation # Documentation
......
#!/bin/sh #!/bin/sh
# This script updates icons from the SVG file # This script updates icons from the SVG file
inkscape blender_icons.svg --export-dpi=90 --without-gui --export-png=blender_icons16.png BASEDIR=$(dirname $0)
inkscape blender_icons.svg --export-dpi=180 --without-gui --export-png=blender_icons32.png
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
#!/bin/sh #!/bin/sh
# This script updates icons from the SVG file # 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment