aboutsummaryrefslogtreecommitdiff
path: root/GApop/build-pd-darwin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'GApop/build-pd-darwin.sh')
-rwxr-xr-xGApop/build-pd-darwin.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/GApop/build-pd-darwin.sh b/GApop/build-pd-darwin.sh
new file mode 100755
index 0000000..38814a9
--- /dev/null
+++ b/GApop/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
+}