/hg/icedtea6: PR3144: Test subdirectory of build tree not emptied
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Tue Aug 16 03:10:30 UTC 2016
changeset 5946cb7c3b7e in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=5946cb7c3b7e
author: Andrew John Hughes <gnu.andrew at redhat.com>
date: Tue Aug 16 04:13:50 2016 +0100
PR3144: Test subdirectory of build tree not emptied
2016-08-15 Andrew John Hughes <gnu.andrew at member.fsf.org>
PR3144: Test subdirectory of build tree not emptied
* Makefile.am:
(CRYPTO_CHECK_BUILD_DIR): Make a subdirectory of
'test'.
(clean-tests): Depend on clean-cryptocheck and
clean-mimetypecheck. Don't try to remove the
test directory as it will always contain the
configure-generated jstapset.pl.
(clean-local); Remove clean-cryptocheck and
clean-mimetypecheck dependencies now handled
by clean-tests.
(clean-mimetypecheck); Depend on clean-check-mimetype
as that removes a file in the directory which
this target deletes.
* NEWS: Updated.
diffstat:
ChangeLog | 18 ++++++++++++++++++
Makefile.am | 13 ++++---------
NEWS | 1 +
3 files changed, 23 insertions(+), 9 deletions(-)
diffs (80 lines):
diff -r 2b2efb516e5a -r 5946cb7c3b7e ChangeLog
--- a/ChangeLog Mon Aug 15 20:13:54 2016 +0100
+++ b/ChangeLog Tue Aug 16 04:13:50 2016 +0100
@@ -1,3 +1,21 @@
+2016-08-15 Andrew John Hughes <gnu.andrew at member.fsf.org>
+
+ PR3144: Test subdirectory of build tree not emptied
+ * Makefile.am:
+ (CRYPTO_CHECK_BUILD_DIR): Make a subdirectory of
+ 'test'.
+ (clean-tests): Depend on clean-cryptocheck and
+ clean-mimetypecheck. Don't try to remove the
+ test directory as it will always contain the
+ configure-generated jstapset.pl.
+ (clean-local); Remove clean-cryptocheck and
+ clean-mimetypecheck dependencies now handled
+ by clean-tests.
+ (clean-mimetypecheck); Depend on clean-check-mimetype
+ as that removes a file in the directory which
+ this target deletes.
+ * NEWS: Updated.
+
2016-07-27 Andrew John Hughes <gnu.andrew at member.fsf.org>
PR3142: Don't assume system mime.types
diff -r 2b2efb516e5a -r 5946cb7c3b7e Makefile.am
--- a/Makefile.am Mon Aug 15 20:13:54 2016 +0100
+++ b/Makefile.am Tue Aug 16 04:13:50 2016 +0100
@@ -46,7 +46,7 @@
FONTCONFIG_PATH = openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs
REWRITER_BUILD_DIR = $(abs_top_builddir)/rewriter.build
GENERATED_BUILD_DIR = $(abs_top_builddir)/generated.build
-CRYPTO_CHECK_BUILD_DIR = $(abs_top_builddir)/cryptocheck.build
+CRYPTO_CHECK_BUILD_DIR = $(abs_top_builddir)/test/cryptocheck.build
MIME_TYPE_CHECK_BUILD_DIR = $(abs_top_builddir)/test/mimetypecheck.build
# Source directories
@@ -1019,12 +1019,7 @@
check-java-debug check-java-src
clean-tests: clean-jtreg clean-tapset-report clean-check-mimetype \
- clean-check-java-debug clean-check-java-src
- if [ $(abs_top_srcdir) != $(abs_top_builddir) ] ; then \
- if [ -e test ] ; then \
- rmdir test ; \
- fi \
- fi
+ clean-check-java-debug clean-check-java-src clean-cryptocheck clean-mimetypecheck
clean-local: clean-tests $(PULSE_JAVA_CLEAN_TARGET) \
clean-extract clean-ports clean-overlay clean-native-ecj \
@@ -1032,7 +1027,7 @@
clean-icedtea-against-ecj clean-extract-ecj clean-generated clean-replace-hotspot \
clean-rewriter clean-rewrite-rhino clean-rt clean-bootstrap-directory \
clean-bootstrap-directory-ecj clean-bootstrap-directory-symlink \
- clean-bootstrap-directory-symlink-ecj clean-fonts clean-cryptocheck clean-mimetypecheck
+ clean-bootstrap-directory-symlink-ecj clean-fonts
if [ -e bootstrap ]; then \
rmdir bootstrap ; \
fi
@@ -3049,7 +3044,7 @@
mkdir -p stamps
touch $@
-clean-mimetypecheck:
+clean-mimetypecheck: clean-check-mimetype
rm -rf $(MIME_TYPE_CHECK_BUILD_DIR)
rm -f stamps/mimetypecheck.stamp
diff -r 2b2efb516e5a -r 5946cb7c3b7e NEWS
--- a/NEWS Mon Aug 15 20:13:54 2016 +0100
+++ b/NEWS Tue Aug 16 04:13:50 2016 +0100
@@ -49,6 +49,7 @@
- PR3139: Update documentation
- PR3140: Pass $(CC) and $(CXX) to OpenJDK build
- PR3142: Don't assume system mime.types supports text/x-java-source
+ - PR3144: Test subdirectory of build tree not emptied
New in release 1.13.11 (2016-05-05):
More information about the distro-pkg-dev
mailing list