diff options
Diffstat (limited to 'sc4pd/build-pd-linux.sh')
-rwxr-xr-x | sc4pd/build-pd-linux.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sc4pd/build-pd-linux.sh b/sc4pd/build-pd-linux.sh new file mode 100755 index 0000000..77c6e3f --- /dev/null +++ b/sc4pd/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 +} |