tired of updating Makefile - use perl script to generate it now
[kai/samba.git] / packaging / SGI / mkrelease.sh
1 #!/bin/sh
2
3 # create the catman versions of the manual pages
4 #
5 echo Making manual pages
6 ./mkman
7
8 # build the sources
9 #
10 echo Making binaries
11 ./makefile.pl ../../source/Makefile > Makefile
12 cd ../../source
13 # make -f ../packaging/SGI/Makefile clean
14 make -f ../packaging/SGI/Makefile all
15 cd ../packaging/SGI
16
17 # generate the packages
18 #
19 echo Generating Inst Packages
20
21 if [ ! -d bins ]; then
22    mkdir bins
23 fi
24
25 /usr/sbin/gendist -rbase / -sbase ../.. -idb samba.idb -spec samba.spec -dist ./bins -all
26