This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[jra/samba/.git] / packaging / Caldera / OpenServer / Clean
1 #!/bin/sh
2 #
3 # Cleanup after having configured, compiled, installed and packaged.
4 # Careful - running this script attempts to restore this hierarchy to 
5 #           freshly unpacked source
6 #
7 # Invoke as "./Clean -n" to get this script to tell you what it would do
8 # without doing anything
9 #
10
11 V=
12 [ "$1" = "-n" ] && V=echo
13
14 [ -d dist ] && $V rm -rf dist
15 [ -f ../../../source/Makefile ] && {
16     $V cd ../../../source
17     $V rm -f bin/locktest bin/masktest bin/smbsh bin/debug2html \
18              bin/locktest2 bin/smbfilter bin/smbtorture
19     $V make clean
20     $V make distclean
21     $V rm -f mout*
22 }