summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2006-07-14 22:31:04 +0000
committerwtchang%redhat.com <devnull@localhost>2006-07-14 22:31:04 +0000
commit8a9fa5b97cd9c231113589595fc838bd8ccd0fd0 (patch)
tree191fe1636eb53c703eedbd53b7ab25c8bf56d255
parent3c54a0392fa52d957183368ca43b602945e06311 (diff)
downloadnspr-hg-8a9fa5b97cd9c231113589595fc838bd8ccd0fd0.tar.gz
Remove all generated Makefiles upon distclean.
Thanks to Mike Hommey <mh+mozilla@glandium.org> for the patch. Bug #333308 r=cls Modified files: Makefile.in configure configure.in Tag: NSPR_4_6_BRANCH
-rw-r--r--Makefile.in1
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
3 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 9273b16d..42f07dd7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -85,6 +85,7 @@ distclean::
@echo "cd pr/tests; $(MAKE) $@"
@$(MAKE) -C pr/tests $@
rm -f config/autoconf.mk
+ rm -f `cat unallmakefiles` unallmakefiles
release::
echo $(BUILD_NUMBER) > $(RELEASE_DIR)/$(BUILD_NUMBER)/version.df
diff --git a/configure b/configure
index d57a8fb9..06b95bf2 100755
--- a/configure
+++ b/configure
@@ -5906,6 +5906,8 @@ if test -n "$USE_CPLUS"; then
MAKEFILES="$MAKEFILES pr/src/cplus/Makefile pr/src/cplus/tests/Makefile"
fi
+echo $MAKEFILES > unallmakefiles
+
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
diff --git a/configure.in b/configure.in
index d8370620..d111446f 100644
--- a/configure.in
+++ b/configure.in
@@ -2811,4 +2811,6 @@ if test -n "$USE_CPLUS"; then
MAKEFILES="$MAKEFILES pr/src/cplus/Makefile pr/src/cplus/tests/Makefile"
fi
+echo $MAKEFILES > unallmakefiles
+
AC_OUTPUT([$MAKEFILES], [chmod +x config/nspr-config])