summaryrefslogtreecommitdiff
path: root/scripts/uni-build-dependencies.sh
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-12-21 02:24:43 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-12-21 02:24:43 (GMT)
commit1a399e7a3001ce3ae6b4e14d6fe3faad48ddfeee (patch)
treeb0c53a6a75ca956bf2c5f9224f45be6f2e7746b0 /scripts/uni-build-dependencies.sh
parent8b0ced0f936f7f19732c187f37f6050d8c08c7e8 (diff)
document 'out of tree' dependency build. fix opencsg on netbsd
Diffstat (limited to 'scripts/uni-build-dependencies.sh')
-rwxr-xr-xscripts/uni-build-dependencies.sh17
1 files changed, 14 insertions, 3 deletions
diff --git a/scripts/uni-build-dependencies.sh b/scripts/uni-build-dependencies.sh
index 6b7d0d1..c39d383 100755
--- a/scripts/uni-build-dependencies.sh
+++ b/scripts/uni-build-dependencies.sh
@@ -6,13 +6,23 @@
#
# This script builds all library dependencies of OpenSCAD for Linux/BSD
+# (Except large ones like qt and gcc)
#
-# Usage: uni-build-dependencies.sh
+# Standard usage:
+# cd openscad
+# . ./scripts/setenv-unibuild.sh
+# ./scripts/uni-build-dependencies.sh
+#
+# Out-of-tree usage
+#
+# cd somepath
+# . /path/to/openscad/scripts/setenv-unibuild.sh
+# ./path/to/openscad/scripts/uni-build-dependencies.sh
#
# Prerequisites:
# - wget or curl
# - Qt4
-# - other
+# - gcc (clang=experimental)
#
printUsage()
@@ -287,11 +297,12 @@ build_opencsg()
make
- ls lib/* include/*
+ ls lib/* lib/.libs/* include/*
echo "installing to -->" $DEPLOYDIR
mkdir -p $DEPLOYDIR/lib
mkdir -p $DEPLOYDIR/include
install lib/* $DEPLOYDIR/lib
+ install lib/.libs/* $DEPLOYDIR/lib # netbsd
install include/* $DEPLOYDIR/include
cd $BASEDIR
contact: Jan Huwald // Impressum