From e6efbc109f56d9a69198862f0c2c2be0ddf3d2e1 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 12 Feb 2007 09:28:36 +0000 Subject: Added changes from Daniel YC Lin via bug #3266 - support for the 'BCemno' makepkg options --- scripts/makeworld | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'scripts') diff --git a/scripts/makeworld b/scripts/makeworld index 99dfff0b..6090ad9b 100755 --- a/scripts/makeworld +++ b/scripts/makeworld @@ -25,16 +25,20 @@ toplevel=$(pwd) usage() { echo "makeworld version $version" - echo - echo "Usage: $0 [options] [category] ..." - echo - echo "Options:" + echo "usage: $0 [options] [category] ..." + echo "options:" echo " -b, --builddeps Build missing dependencies from source" + echo " -B, --noccache Do not use ccache during build" echo " -c, --clean Clean up work files after build" + echo " -C, --cleancache Clean up source files from the cache" echo " -d, --nodeps Skip all dependency checks" + echo " -e, --noextract Do not extract source files (use existing src/ dir)" echo " -f, --force Overwrite existing packages" echo " -i, --install Install package after successful build" + echo " -m, --nocolor Disable colorized output messages" + echo " -n, --nostrip Do not strip binaries/libraries" echo " -h, --help This help" + echo " -o, --nobuild Download and extract files only" echo " -r, --rmdeps Remove installed dependencies after a successful build" echo " -s, --syncdeps Install missing dependencies with pacman" echo " -S, --sudosync Install missing dependencies with pacman and sudo" @@ -79,16 +83,22 @@ for arg in $*; do exit 1 ;; -*) - while getopts "chisSbdfr-" opt; do + while getopts "chisSbdfrBCemnoS-" opt; do case $opt in c) MAKEPKG_OPTS="$MAKEPKG_OPTS -c" ;; i) MAKEPKG_OPTS="$MAKEPKG_OPTS -i" ;; s) MAKEPKG_OPTS="$MAKEPKG_OPTS -s" ;; - S) MAKEPKG_OPTS="$MAKEPKG_OPTS -S" ;; b) MAKEPKG_OPTS="$MAKEPKG_OPTS -b" ;; d) MAKEPKG_OPTS="$MAKEPKG_OPTS -d" ;; f) MAKEPKG_OPTS="$MAKEPKG_OPTS -f" ;; r) MAKEPKG_OPTS="$MAKEPKG_OPTS -r" ;; + B) MAKEPKG_OPTS="$MAKEPKG_OPTS -B" ;; + C) MAKEPKG_OPTS="$MAKEPKG_OPTS -C" ;; + e) MAKEPKG_OPTS="$MAKEPKG_OPTS -e" ;; + m) MAKEPKG_OPTS="$MAKEPKG_OPTS -m" ;; + n) MAKEPKG_OPTS="$MAKEPKG_OPTS -n" ;; + o) MAKEPKG_OPTS="$MAKEPKG_OPTS -o" ;; + S) MAKEPKG_OPTS="$MAKEPKG_OPTS -S" ;; h) usage exit 0 -- cgit v1.2.3-24-g4f1b