aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/xsample/build-pd-linux.sh
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-01-06 11:04:56 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-01-06 11:04:56 +0000
commitea175e0b95f848dcd203e7fbc1941c20616ec4f5 (patch)
tree317f031122c40f98983605cfa6ffffb1f5e683e9 /externals/grill/xsample/build-pd-linux.sh
parent0e2151f42d9f0f5a4a25cf8bb90316a16a09191d (diff)
""
svn path=/trunk/; revision=324
Diffstat (limited to 'externals/grill/xsample/build-pd-linux.sh')
-rwxr-xr-xexternals/grill/xsample/build-pd-linux.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/externals/grill/xsample/build-pd-linux.sh b/externals/grill/xsample/build-pd-linux.sh
new file mode 100755
index 00000000..77c6e3ff
--- /dev/null
+++ b/externals/grill/xsample/build-pd-linux.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+SYS=pd-linux
+
+. config-${SYS}.txt
+
+make -f makefile.${SYS} &&
+{
+ if [ $INSTDIR != "" ]; then
+ echo Now install as root
+ su -c "make -f makefile.${SYS} install"
+ fi
+ if [ $HELPDIR != "" ]; then
+ echo Now install help as root
+ su -c "make -f makefile.${SYS} install-help"
+ fi
+}