summaryrefslogtreecommitdiffstats
path: root/packaging/SGI
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-04-29 13:45:27 +0000
committerHerb Lewis <herb@samba.org>1998-04-29 13:45:27 +0000
commite21b3a527cc6a3a3b0dee12430bd78d9cc340ae8 (patch)
tree53c95b77afd3f6b004bc62caae5b5f4e6b71720d /packaging/SGI
parent315e26c23abf7137684bf084c825ad241076132e (diff)
downloadsamba-e21b3a527cc6a3a3b0dee12430bd78d9cc340ae8.tar.gz
samba-e21b3a527cc6a3a3b0dee12430bd78d9cc340ae8.tar.xz
samba-e21b3a527cc6a3a3b0dee12430bd78d9cc340ae8.zip
add clean option
Diffstat (limited to 'packaging/SGI')
-rwxr-xr-xpackaging/SGI/mkrelease.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh
index fcf247d9b4f..05c64b12fc4 100755
--- a/packaging/SGI/mkrelease.sh
+++ b/packaging/SGI/mkrelease.sh
@@ -4,6 +4,14 @@
# 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.
+if [ "$1" = "clean" ]; then
+ cd ../../source
+ make clean
+ cd ../packaging/SGI
+ shift
+ rm -rf bins catman html codepages swat Makefile samba.idb samba.spec
+fi
+
# create the catman versions of the manual pages
#
echo Making manual pages