aboutsummaryrefslogtreecommitdiff
path: root/tbext/build-pd-darwin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tbext/build-pd-darwin.sh')
-rwxr-xr-xtbext/build-pd-darwin.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/tbext/build-pd-darwin.sh b/tbext/build-pd-darwin.sh
new file mode 100755
index 0000000..38814a9
--- /dev/null
+++ b/tbext/build-pd-darwin.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+SYS=pd-darwin
+
+. config-${SYS}.txt
+
+make -f makefile.${SYS} &&
+{
+ if [ $INSTDIR != "" ]; then
+ echo Now install as root
+ sudo make -f makefile.${SYS} install
+ fi
+ if [ $HELPDIR != "" ]; then
+ echo Now install help as root
+ sudo make -f makefile.${SYS} install-help
+ fi
+}