get external editor working, also only build preproc when new work dir

This commit is contained in:
benfry
2005-02-04 03:36:06 +00:00
parent 05816e9ac3
commit d8dccacbbd
5 changed files with 25 additions and 15 deletions
+2 -1
View File
@@ -5,9 +5,10 @@
if test -d work
then
echo
BUILD_PREPROC=false
else
echo Setting up directories to build for linux...
BUILD_PREPROC=true
cp -r ../shared work
cp -r ../../lib work/libraries
+5 -2
View File
@@ -5,7 +5,7 @@
if test -d work
then
echo
BUILD_PREPROC=false
else
if test -f /sw/bin/cp
then
@@ -16,6 +16,8 @@ else
fi
echo Setting up directories to build under Mac OS X
BUILD_PREPROC=true
cp -r ../shared work
cp -r ../../lib work/libraries
@@ -79,7 +81,8 @@ cd ../app
#echo Removing preproc code so it will regenerate
#rm preprocessor/expandedpde.g
if test -f preprocessor/expandedpde.g
if $BUILD_PREPROC
#if test -f preprocessor/expandedpde.g
then
echo
else
+11 -8
View File
@@ -5,8 +5,10 @@
if test -d work
then
BUILD_PREPROC=false
else
echo Setting up directories to build P5...
BUILD_PREPROC=true
cp -r ../shared work
rm -rf work/CVS
rm -f work/.DS_Store
@@ -87,14 +89,17 @@ zip -rq ../build/windows/work/lib/core.jar processing
# back to base processing dir
cd ..
#################### TEMPORARY #####################
# set to true to re-enable building the preprocessor
if true
then
#################### TEMPORARY #####################
### -- BUILD PREPROC ---------------------------------------------
# i suck at shell scripting
#if [ $1 = "preproc" ]
#then
#BUILD_PREPROC=true
#fi
if $BUILD_PREPROC
then
echo Building PDE for JDK 1.4
cd app/preprocessor
@@ -111,9 +116,7 @@ cd app/preprocessor
# back to base processing dir
cd ../..
#################### TEMPORARY #####################
fi
#################### TEMPORARY #####################
### -- BUILD PDE ------------------------------------------------