summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGellule Xg <gellule.xg@gmail.com>2011-12-09 20:13:49 +0000
committerGellule Xg <gellule.xg@gmail.com>2011-12-09 20:13:49 +0000
commit0f69c9522c31ec0f802e3d4091c88ee6c044e4da (patch)
tree52467bd942e60e62112db61677212e1e60bd1c02 /packaging
parentRecreating an inkscape.pot file after its deletion in the previous commit. (diff)
downloadinkscape-0f69c9522c31ec0f802e3d4091c88ee6c044e4da.tar.gz
inkscape-0f69c9522c31ec0f802e3d4091c88ee6c044e4da.zip
Added option -j|--jobs to osx-build.sh. This sets the number of jobs option of make.
(bzr r10764.1.1)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/macosx/osx-build.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/packaging/macosx/osx-build.sh b/packaging/macosx/osx-build.sh
index 5d3ebaed4..7e7a74ed4 100755
--- a/packaging/macosx/osx-build.sh
+++ b/packaging/macosx/osx-build.sh
@@ -54,6 +54,7 @@ Compilation script for Inkscape on Mac OS X.
\033[1m-p,--prefix\033[0m specify install prefix (configure step only)
\033[1mb,build\033[0m
build Inkscape (run make)
+ \033[1m-j,--jobs\033[0m Set the number of parallel execution for make
\033[1mi,install\033[0m
install the build products locally, inside the source
directory (run make install)
@@ -97,6 +98,7 @@ BZRUPDATE="f"
AUTOGEN="f"
CONFIGURE="f"
BUILD="f"
+NJOBS=1
INSTALL="f"
PACKAGE="f"
DISTRIB="f"
@@ -131,6 +133,9 @@ do
UNIVERSAL="t" ;;
b|build)
BUILD="t" ;;
+ -j|--jobs)
+ NJOBS=$2
+ shift 1 ;;
i|install)
INSTALL="t" ;;
p|pack|package)
@@ -277,7 +282,7 @@ fi
if [[ "$BUILD" == "t" ]]
then
cd $SRCROOT
- make
+ make -j $NJOBS
status=$?
if [[ $status -ne 0 ]]; then
echo -e "\nBuild failed"