changeset 2643:c4c90d76f8a7

PR2873: Fix make distcheck 2016-03-28 Andrew John Hughes <gnu_andrew@member.fsf.org> PR2873: Fix make distcheck * Makefile.am: (clean-tests): Don't try and delete the test subdirectory of the build tree. configure now generates test/tapset/jstaptest.pl and so the directory won't be empty until the autoconf tools remove this.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Tue, 29 Mar 2016 03:04:49 +0100
parents 761b826dbec2
children 8fc0b0a775ef
files ChangeLog Makefile.am
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Mar 29 03:00:45 2016 +0100
+++ b/ChangeLog	Tue Mar 29 03:04:49 2016 +0100
@@ -1,3 +1,13 @@
+2016-03-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
+
+	PR2873: Fix make distcheck
+	* Makefile.am:
+	(clean-tests): Don't try and delete the test
+	subdirectory of the build tree. configure now
+	generates test/tapset/jstaptest.pl and so
+	the directory won't be empty until the autoconf
+	tools remove this.
+
 2016-03-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
 
 	PR2897: clean-cacao removes extracted source tree
--- a/Makefile.am	Tue Mar 29 03:00:45 2016 +0100
+++ b/Makefile.am	Tue Mar 29 03:04:49 2016 +0100
@@ -659,11 +659,6 @@
 check-local: jtregcheck $(SYSTEMTAP_TEST_SUITE) stamps/check-ecc.stamp
 
 clean-tests: clean-jtreg clean-tapset-report clean-jtreg-reports clean-check-ecc
-	if [ $(abs_top_srcdir) != $(abs_top_builddir) ] ; then \
-	  if [ -e test ] ; then \
-	    rmdir test ; \
-	  fi \
-	fi
 
 clean-local: clean-tests \
  clean-icedtea clean-icedtea-debug clean-icedtea-boot clean-clone clean-clone-boot \