Skip to content
Snippets Groups Projects
Commit 59e75fd5 authored by rtoy's avatar rtoy
Browse files

Reverse the meaning of the -P option. Now, -P means don't generate

new pot files and don't update the translations (po and mo files).
parent 6692aa7e
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
# #
# For more information see src/BUILDING. # For more information see src/BUILDING.
# #
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/build.sh,v 1.32 2010/08/31 22:24:09 rtoy Exp $ # $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/build.sh,v 1.33 2010/09/15 23:59:39 rtoy Exp $
# #
ENABLE2="yes" ENABLE2="yes"
...@@ -86,7 +86,8 @@ usage () ...@@ -86,7 +86,8 @@ usage ()
echo ' you would give to create-target.sh for the lisp' echo ' you would give to create-target.sh for the lisp'
echo ' and motif variant.' echo ' and motif variant.'
echo ' -f mode FPU mode: x87, sse2, or auto. Default is auto' echo ' -f mode FPU mode: x87, sse2, or auto. Default is auto'
echo ' -P On the last build, generate cmucl.pot' echo ' -P On the last build, do NOT generate cmucl.pot and do NOT update'
echo ' the translations.'
echo " -? This help message" echo " -? This help message"
echo " -w Specify a different build-world.sh script" echo " -w Specify a different build-world.sh script"
exit 1 exit 1
...@@ -133,6 +134,7 @@ buildit () ...@@ -133,6 +134,7 @@ buildit ()
FPU_MODE= FPU_MODE=
BUILDWORLD="$TOOLDIR/build-world.sh" BUILDWORLD="$TOOLDIR/build-world.sh"
BUILD_POT="yes"
while getopts "123Po:b:v:uB:C:i:f:w:?" arg while getopts "123Po:b:v:uB:C:i:f:w:?" arg
do do
...@@ -149,7 +151,7 @@ do ...@@ -149,7 +151,7 @@ do
B) bootfiles="$bootfiles $OPTARG" ;; B) bootfiles="$bootfiles $OPTARG" ;;
i) INTERACTIVE_BUILD="$OPTARG" ;; i) INTERACTIVE_BUILD="$OPTARG" ;;
f) FPU_MODE="-fpu $OPTARG" ;; f) FPU_MODE="-fpu $OPTARG" ;;
P) BUILD_POT=yes ;; P) BUILD_POT=no ;;
w) BUILDWORLD="$OPTARG" ;; w) BUILDWORLD="$OPTARG" ;;
\?) usage \?) usage
;; ;;
...@@ -188,13 +190,14 @@ BUILD_WORLD2= ...@@ -188,13 +190,14 @@ BUILD_WORLD2=
buildit buildit
TARGET=$BASE-4 TARGET=$BASE-4
MAKE_TARGET="all translations" MAKE_TARGET="all"
CLEAN_FLAGS="-K all" CLEAN_FLAGS="-K all"
OLDLISP="${BASE}-3/lisp/lisp -noinit $FPU_MODE" OLDLISP="${BASE}-3/lisp/lisp -noinit $FPU_MODE"
ENABLE=$ENABLE4 ENABLE=$ENABLE4
if [ "${BUILD_POT}" = "yes" ]; then if [ "${BUILD_POT}" = "yes" ]; then
MAKE_POT=yes MAKE_POT=yes
MAKE_TARGET="all translations"
export MAKE_POT export MAKE_POT
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment