build/autoconf/clean-config.sh

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:7e42ca8161b8
1 #!/bin/sh
2 #
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7 # clean-config.sh - Removes all files generated by mozilla configure.
8 # Only removes files from the topsrcdir. To clean up an objdir,
9 # simply remove the directory and start over.
10 #
11 # Usage:
12 # 1. cd <topsrcdir>
13 # 2. build/autoconf/clean-config.sh
14 #
15 # Send comments, improvements, bugs to slamm@netscape.com
16
17 topsrcdir=`cd \`dirname $0\`/../..; pwd`
18
19 if [ ! -f configure.in ]; then
20 echo "clean-config.sh only cleans the source tree. To run," 2>&1
21 echo " cd $topsrcdir; build/autoconf/clean-config.sh" 2>&1
22 echo " (To clean a separate objdir, simple remove the directory.)" 2>&1
23 exit 1
24 fi
25
26 rm -fr \
27 config-defs.h \
28 config.cache \
29 config.log \
30 config.status \
31 $NULL

mercurial