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/.
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.
13
# 2. build/autoconf/clean-config.sh
15
# Send comments, improvements, bugs to slamm@netscape.com
17
topsrcdir=`cd \`dirname $0\`/../..; pwd`
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