Update file for automatically generating a release
[Samba.git] / packaging / SGI / mkrelease.sh
blobfed7a5dc42abd6a368a13e3403d7d7f566b321e0
1 #!/bin/sh
3 # This file goes through all the necessary steps to build a release package.
4 # You may specify a OS major version number (4, 5, or 6) to specify which
5 # OS release to build. If no version number is given it will default to 6.
7 # create the catman versions of the manual pages
9 echo Making manual pages
10 ./mkman
12 # build the sources
14 echo Making binaries
15 ./makefile.pl $1 # create the Makefile for the specified OS ver
16 cd ../../source
17 # make -f ../packaging/SGI/Makefile clean
18 make -f ../packaging/SGI/Makefile all
19 cd ../packaging/SGI
21 # generate the packages
23 echo Generating Inst Packages
24 ./spec.pl # create the samba.spec file
25 ./idb.pl # create the samba.idb file
26 if [ ! -d bins ]; then
27 mkdir bins
30 # do the packaging
31 /usr/sbin/gendist -rbase / -sbase ../.. -idb samba.idb -spec samba.spec -dist ./bins -all