diff options
author | Marius Kintel <marius@kintel.net> | 2012-07-15 01:58:55 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-07-15 01:58:55 (GMT) |
commit | 1b38030f7e243c4eeb288d07084a99ff1e616e85 (patch) | |
tree | a81f11d55205e0aae12d03f6d5270e4720cd0ad2 /scripts/setenv-linbuild.sh | |
parent | 13557f1f9a44caccb0546717065ed72c27a210b3 (diff) | |
parent | 2aaccdcfac97f2bf432f88665261f9b582bbb8b3 (diff) |
Merge branch 'master' of github.com:openscad/openscad
Diffstat (limited to 'scripts/setenv-linbuild.sh')
-rw-r--r-- | scripts/setenv-linbuild.sh | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/scripts/setenv-linbuild.sh b/scripts/setenv-linbuild.sh index 9719533..6361dd4 100644 --- a/scripts/setenv-linbuild.sh +++ b/scripts/setenv-linbuild.sh @@ -1,10 +1,15 @@ -# setup env variables for building OpenSCAD against custom built -# dependency libraries from linux-build-dependencies.sh +# setup environment variables for building OpenSCAD against custom built +# dependency libraries. called by linux-build-dependencies.sh -# run this file with 'source setenv-linbuild.sh' +# run this file with 'source setenv-linbuild.sh' every time you re-login +# and want to build or run openscad against custom libraries installed +# into BASEDIR. -# BASEDIR and DEPLOYDIR must be the same as in linux-build-dependencies.sh -BASEDIR=$HOME/openscad_deps +# copy this file to your .bashrc if desired. + +if [ ! $BASEDIR ]; then + BASEDIR=$HOME/openscad_deps +fi DEPLOYDIR=$BASEDIR export PATH=$BASEDIR/bin:$PATH @@ -21,3 +26,9 @@ echo LD_RUN_PATH modified echo OPENSCAD_LIBRARIES modified echo GLEWDIR modified +if [ "`command -v qmake-qt4`" ]; then + echo "Please re-run qmake-qt4 and run 'make clean' if necessary" +else + echo "Please re-run qmake and run 'make clean' if necessary" +fi + |