1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

move things around to get rid of make clean warning messages

(This used to be commit d7975ef1e3f38e678ea20d3f86718b05f4fb1aff)
This commit is contained in:
Herb Lewis 1998-05-08 17:30:48 +00:00
parent 64a0f84ab5
commit 27e91f67f2

View File

@ -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
cd ../../source
make clean
cd ../packaging/SGI
doclean=$1
shift
rm -rf bins catman html codepages swat Makefile samba.idb samba.spec
fi
echo Create SGI specific Makefile
./makefile.pl $1 # create the Makefile for the specified OS ver
if [ "$doclean" = "clean" ]; then
cd ../../source
make -f ../packaging/SGI/Makefile clean
cd ../packaging/SGI
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";