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