summaryrefslogtreecommitdiff
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
commit4eb37c104d3a23ecefcefe9038de5d10515078dd (patch)
tree889fd05238088561caf5fbb3507291a3a32b831a /packaging/SGI
parenta8e7f804ca86c4ae91d6d4429f9fe264947b54f9 (diff)
downloadsamba-4eb37c104d3a23ecefcefe9038de5d10515078dd.tar.gz
samba-4eb37c104d3a23ecefcefe9038de5d10515078dd.tar.bz2
samba-4eb37c104d3a23ecefcefe9038de5d10515078dd.zip
add clean option
(This used to be commit e21b3a527cc6a3a3b0dee12430bd78d9cc340ae8)
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 fcf247d9b4..05c64b12fc 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