add clean option
authorHerb Lewis <herb@samba.org>
Wed, 29 Apr 1998 13:45:27 +0000 (13:45 +0000)
committerHerb Lewis <herb@samba.org>
Wed, 29 Apr 1998 13:45:27 +0000 (13:45 +0000)
(This used to be commit e21b3a527cc6a3a3b0dee12430bd78d9cc340ae8)

packaging/SGI/mkrelease.sh

index fcf247d9b4fdeb2c931d717e757919624862035f..05c64b12fc42900714f9acc737950c5af9115df0 100755 (executable)
@@ -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