mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
0e40dbf86b
(This used to be commit 720ec55c175bd9df5832085066d1e68b2684a8a2)
23 lines
597 B
Bash
Executable File
23 lines
597 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Cleanup after having configured, compiled, installed and packaged.
|
|
# Careful - running this script attempts to restore this hierarchy to
|
|
# freshly unpacked source
|
|
#
|
|
# Invoke as "./Clean -n" to get this script to tell you what it would do
|
|
# without doing anything
|
|
#
|
|
|
|
V=
|
|
[ "$1" = "-n" ] && V=echo
|
|
|
|
[ -d dist ] && $V rm -rf dist
|
|
[ -f ../../../source/Makefile ] && {
|
|
$V cd ../../../source
|
|
$V rm -f bin/locktest bin/masktest bin/smbsh bin/debug2html \
|
|
bin/locktest2 bin/smbfilter bin/smbtorture
|
|
$V make clean
|
|
$V make distclean
|
|
$V rm -f mout*
|
|
}
|