blob: fed7a5dc42abd6a368a13e3403d7d7f566b321e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/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
./mkman
# build the sources
#
echo Making binaries
./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
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
|