diff options
Diffstat (limited to 'packaging/SGI/mkrelease.sh')
-rwxr-xr-x | packaging/SGI/mkrelease.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh index 052a4d8ddb8..fed7a5dc42a 100755 --- a/packaging/SGI/mkrelease.sh +++ b/packaging/SGI/mkrelease.sh @@ -1,5 +1,9 @@ #!/bin/sh +# This file goes through all the necessary steps to build a release package. +# You may specify a OS major version number (4, 5, or 6) to specify which +# OS release to build. If no version number is given it will default to 6. + # create the catman versions of the manual pages # echo Making manual pages @@ -8,7 +12,7 @@ echo Making manual pages # build the sources # echo Making binaries -./makefile.pl ../../source/Makefile > Makefile +./makefile.pl $1 # create the Makefile for the specified OS ver cd ../../source # make -f ../packaging/SGI/Makefile clean make -f ../packaging/SGI/Makefile all @@ -17,10 +21,12 @@ cd ../packaging/SGI # generate the packages # echo Generating Inst Packages - +./spec.pl # create the samba.spec file +./idb.pl # create the samba.idb file if [ ! -d bins ]; then mkdir bins fi +# do the packaging /usr/sbin/gendist -rbase / -sbase ../.. -idb samba.idb -spec samba.spec -dist ./bins -all |