[PATCH 1 of 1] Makefile.am (clean-jtreg): Depend on clean-jtreg-reports

Mark Wielaard mjw at redhat.com
Tue Mar 20 05:57:48 PDT 2012


# HG changeset patch
# User Mark Wielaard <mark at klomp.org>
# Date 1332247709 -3600
# Node ID 2ec7673965579347cd63bddaba5b207f08be2e07
# Parent  af04fa17f62f75abdc5afd7a58c9f94684b356aa
Makefile.am (clean-jtreg): Depend on clean-jtreg-reports.

clean-jtreg wants to remove the empty test build directory. But it can
still contain jtreg report summary files. Clean those up first by depending
on clean-jtreg-reports.

diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-20  Mark Wielaard  <mjw at redhat.com>
+
+	* Makefile.am (clean-jtreg): Depend on clean-jtreg-reports.
+
 2012-03-19  Andrew John Hughes  <ahughes at redhat.com>
 
 	* acinclude.m4:
diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -2157,7 +2157,7 @@
 	mkdir -p stamps
 	touch $@
 
-clean-jtreg:
+clean-jtreg: clean-jtreg-reports
 	rm -rf test/jtreg/classes
 	if [ -e test/jtreg ] ; then \
 	  rmdir test/jtreg ; \



More information about the distro-pkg-dev mailing list