summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/am/dejagnu.am12
2 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e5040319d..c8dbdc88d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-26 Tom Tromey <tromey@redhat.com>
+
+ * lib/am/dejagnu.am (distclean-DEJAGNU): New target.
+ For Debian bug 14421.
+
2002-04-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/man2.test: Use `pwd`, not $PWD. Use $MAKE -e.
diff --git a/lib/am/dejagnu.am b/lib/am/dejagnu.am
index 9428f51e8..fa1cdf07e 100644
--- a/lib/am/dejagnu.am
+++ b/lib/am/dejagnu.am
@@ -94,3 +94,15 @@ site.exp: Makefile
@-rm -f site.bak
@test ! -f site.exp || mv site.exp site.bak
@mv site.tmp site.exp
+
+## ---------- ##
+## Cleaning. ##
+## ---------- ##
+
+.PHONY distclean-am: distclean-DEJAGNU
+
+distclean-DEJAGNU:
+## Any other cleaning must be done by the user or by the test suite
+## itself. We can't predict what dejagnu or the test suite might
+## generate.
+ -rm -f site.exp site.bak