Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-02-28 02:34:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-28 02:37:49 +0300
commitb1c3d91aed42adcc6d15d709a236e71d02c86da4 (patch)
tree9a292214decfe5e005c55f834da85eef7eb0123c /GNUmakefile
parentc6681c65dd277531152c42624f4e7a2a9bf9870d (diff)
Makefile: icons target now uses make variables
Add examples in help text.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile23
1 files changed, 17 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile
index afd1a4880b7..35960733858 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -101,13 +101,21 @@ Utilities
* icons:
Updates PNG icons from SVG files.
- Set environment variables 'BLENDER_BIN' and 'INKSCAPE_BIN'
- to define your own commands.
+
+ Optionally pass in variables: 'BLENDER_BIN', 'INKSCAPE_BIN'
+ otherwise default paths are used.
+
+ Example
+ make icons INKSCAPE_BIN=/path/to/inkscape
* icons_geom:
Updates Geometry icons from BLEND file.
- Set environment variable 'BLENDER_BIN'
- to define your own command.
+
+ Optionally pass in variable: 'BLENDER_BIN'
+ otherwise default paths are used.
+
+ Example
+ make icons_geom BLENDER_BIN=/path/to/blender
* tgz:
Create a compressed archive of the source code.
@@ -478,9 +486,12 @@ check_descriptions: .FORCE
tgz: .FORCE
./build_files/utils/build_tgz.sh
+INKSCAPE_BIN?="inkscape"
icons: .FORCE
- "$(BLENDER_DIR)/release/datafiles/blender_icons_update.py"
- "$(BLENDER_DIR)/release/datafiles/prvicons_update.py"
+ BLENDER_BIN=$(BLENDER_BIN) INKSCAPE_BIN=$(INKSCAPE_BIN) \
+ "$(BLENDER_DIR)/release/datafiles/blender_icons_update.py"
+ BLENDER_BIN=$(BLENDER_BIN) INKSCAPE_BIN=$(INKSCAPE_BIN) \
+ "$(BLENDER_DIR)/release/datafiles/prvicons_update.py"
icons_geom: .FORCE
BLENDER_BIN=$(BLENDER_BIN) \