summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>1998-05-08 17:30:48 +0000
committerHerb Lewis <herb@samba.org>1998-05-08 17:30:48 +0000
commit27e91f67f2e8d726946d9993bc5218b628a97847 (patch)
tree1e1f0156f5cc2390ca05a9a8ff8fd5b0368fbfdf
parent64a0f84ab5cd34db34067cc4472315eda51f3b64 (diff)
downloadsamba-27e91f67f2e8d726946d9993bc5218b628a97847.tar.gz
samba-27e91f67f2e8d726946d9993bc5218b628a97847.tar.bz2
samba-27e91f67f2e8d726946d9993bc5218b628a97847.zip
move things around to get rid of make clean warning messages
(This used to be commit d7975ef1e3f38e678ea20d3f86718b05f4fb1aff)
-rwxr-xr-xpackaging/SGI/mkrelease.sh16
1 files changed, 12 insertions, 4 deletions
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh
index 05c64b12fc..e42f76e207 100755
--- a/packaging/SGI/mkrelease.sh
+++ b/packaging/SGI/mkrelease.sh
@@ -4,12 +4,21 @@
# 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.
+doclean=""
+
if [ "$1" = "clean" ]; then
+ doclean=$1
+ shift
+fi
+
+echo Create SGI specific Makefile
+./makefile.pl $1 # create the Makefile for the specified OS ver
+
+if [ "$doclean" = "clean" ]; then
cd ../../source
- make clean
+ make -f ../packaging/SGI/Makefile clean
cd ../packaging/SGI
- shift
- rm -rf bins catman html codepages swat Makefile samba.idb samba.spec
+ rm -rf bins catman html codepages swat samba.idb samba.spec
fi
# create the catman versions of the manual pages
@@ -25,7 +34,6 @@ fi
# build the sources
#
echo Making binaries
-./makefile.pl $1 # create the Makefile for the specified OS ver
errstat=$?
if [ $errstat -ne 0 ]; then
echo "Error $errstat creating Makefile\n";