summaryrefslogtreecommitdiff
path: root/packaging/SGI/mkrelease.sh
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1997-10-31 17:33:04 +0000
committerHerb Lewis <herb@samba.org>1997-10-31 17:33:04 +0000
commitbc5e2a1289b6c80b9b7a1f3f45ed3897d4474c51 (patch)
tree7a1598b1f6fcd73029af1d266e1d08f05fdb880a /packaging/SGI/mkrelease.sh
parent4400805208722e3679809a0ca53c2285e45212ca (diff)
downloadsamba-bc5e2a1289b6c80b9b7a1f3f45ed3897d4474c51.tar.gz
samba-bc5e2a1289b6c80b9b7a1f3f45ed3897d4474c51.tar.bz2
samba-bc5e2a1289b6c80b9b7a1f3f45ed3897d4474c51.zip
Update file for automatically generating a release
(This used to be commit 01df21c22d567a0cc6d69a03fd3246dcfd92217d)
Diffstat (limited to 'packaging/SGI/mkrelease.sh')
-rwxr-xr-xpackaging/SGI/mkrelease.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh
index 052a4d8ddb..fed7a5dc42 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