aboutsummaryrefslogtreecommitdiff
path: root/sc4pd/build-pd-linux.sh
blob: 77c6e3ff80c8fe0be7aa2fac2ad2084ad52b559a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}