diff options
author | Herb Lewis <herb@samba.org> | 1998-08-07 18:56:12 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1998-08-07 18:56:12 +0000 |
commit | 05e6d0bcc19019c5cdba150ba84f911cf5f51381 (patch) | |
tree | 9f08c5526df9c6534c2bc426eb765ab83921a7bd /packaging/SGI/mkrelease.sh | |
parent | a4b872451e5195063d657bff8763227e9f82b4b9 (diff) | |
download | samba-05e6d0bcc19019c5cdba150ba84f911cf5f51381.tar.gz samba-05e6d0bcc19019c5cdba150ba84f911cf5f51381.tar.bz2 samba-05e6d0bcc19019c5cdba150ba84f911cf5f51381.zip |
add startswat.sh to automate starting swat with inetd
update make scripts to use new autoconfigure setup
(This used to be commit 737a58c1568fd76afe32a78895ee09b1543a595d)
Diffstat (limited to 'packaging/SGI/mkrelease.sh')
-rwxr-xr-x | packaging/SGI/mkrelease.sh | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh index e42f76e207..6f4b600f41 100755 --- a/packaging/SGI/mkrelease.sh +++ b/packaging/SGI/mkrelease.sh @@ -11,12 +11,9 @@ if [ "$1" = "clean" ]; then shift fi -echo Create SGI specific Makefile -./makefile.pl $1 # create the Makefile for the specified OS ver - if [ "$doclean" = "clean" ]; then cd ../../source - make -f ../packaging/SGI/Makefile clean + make clean cd ../packaging/SGI rm -rf bins catman html codepages swat samba.idb samba.spec fi @@ -31,18 +28,26 @@ if [ $errstat -ne 0 ]; then exit $errstat; fi -# build the sources -# -echo Making binaries +cd ../../source +echo Create SGI specific Makefile +./configure --prefix=/usr --mandir=/usr/src/man errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat creating Makefile\n"; exit $errstat; fi -cd ../../source -# make -f ../packaging/SGI/Makefile clean -make -f ../packaging/SGI/Makefile all + +# build the sources +# +echo Making binaries + +if [ "$1" = "5" ]; then + make "CFLAGS=-O -g3" all +else + make "CFLAGS=-O -g3 -n32" all +fi + errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building sources\n"; @@ -73,5 +78,5 @@ if [ ! -d bins ]; then fi # do the packaging -/usr/sbin/gendist -rbase / -sbase ../.. -idb samba.idb -spec samba.spec -dist ./bins -all +/usr/sbin/gendist -rbase / -sbase ../.. -idb samba.idb -spec samba.spec -dist ./bins -nostrip -all |