aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-06-09 03:54:05 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-06-09 03:54:05 +0000
commitbac58b0454ef8edc538c1294a2f86e4474f865d1 (patch)
tree84903a24e627e413d1ddf78792fd243dade61e56
parent60e1a05f32a18f7e770cbfd41c096711e1716684 (diff)
build all libdirs that can be found, for build automation
svn path=/trunk/; revision=15100
-rwxr-xr-xexternals/build-all-libdirs.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/externals/build-all-libdirs.sh b/externals/build-all-libdirs.sh
new file mode 100755
index 00000000..b79d97da
--- /dev/null
+++ b/externals/build-all-libdirs.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# this is run by the Jenkins build automation server
+
+for dir in `find . -name \*-meta.pd | sed -n 's|\(.*\)/[a-zA-Z0-9_-]*-meta\.pd|\1|p' `
+do
+ (test -e "$dir/Makefile" && echo "Building $dir") || continue
+ make -C $dir dist
+ make -C $dir distclean
+ make -C $dir
+ mkdir destdir
+ make -C $dir DESTDIR=destdir objectsdir="" install
+done