/hg/icedtea: Fix make distcheck, broken by recent imported patch...
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Wed May 25 09:34:09 PDT 2011
changeset 43c6c4a00875 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=43c6c4a00875
author: Andrew John Hughes <ahughes at redhat.com>
date: Wed May 25 17:33:49 2011 +0100
Fix make distcheck, broken by recent imported patches from IcedTea6.
2011-05-25 Andrew John Hughes <ahughes at redhat.com>
Fix make distcheck.
* Makefile.am: (EXTRA_DIST): Remove hotspot/default/*.patch.
Add jamvm/*.patch. (clean-extract-hotspot): Remove remnants
of the attempt to symlink the HotSpot directory.
(clean-add-jamvm): Check jvm.cfg exists and use full path.
(clean-add-jamvm-debug): Likewise for debug mode.
diffstat:
ChangeLog | 12 ++++++++++++
Makefile.am | 15 ++++++++-------
2 files changed, 20 insertions(+), 7 deletions(-)
diffs (68 lines):
diff -r 3331b5399731 -r 43c6c4a00875 ChangeLog
--- a/ChangeLog Wed May 25 13:19:52 2011 +0100
+++ b/ChangeLog Wed May 25 17:33:49 2011 +0100
@@ -1,3 +1,15 @@
+2011-05-25 Andrew John Hughes <ahughes at redhat.com>
+
+ Fix make distcheck.
+ * Makefile.am:
+ (EXTRA_DIST): Remove hotspot/default/*.patch.
+ Add jamvm/*.patch.
+ (clean-extract-hotspot): Remove remnants of
+ the attempt to symlink the HotSpot directory.
+ (clean-add-jamvm): Check jvm.cfg exists
+ and use full path.
+ (clean-add-jamvm-debug): Likewise for debug mode.
+
2011-05-25 Andrew John Hughes <ahughes at redhat.com>
* acinclude.m4:
diff -r 3331b5399731 -r 43c6c4a00875 Makefile.am
--- a/Makefile.am Wed May 25 13:19:52 2011 +0100
+++ b/Makefile.am Wed May 25 17:33:49 2011 +0100
@@ -694,10 +694,10 @@
$(top_srcdir)/pulseaudio/COPYING
EXTRA_DIST = $(GENERATED_FILES) $(top_srcdir)/patches/*.patch \
- $(top_srcdir)/patches/hotspot/default/*.patch \
$(top_srcdir)/patches/boot/*.patch \
$(top_srcdir)/patches/cacao/*.patch \
$(top_srcdir)/patches/debian/*.patch \
+ $(top_srcdir)/patches/jamvm/*.patch \
$(top_srcdir)/patches/security/*.patch \
tools-copy contrib overlays \
javaws.png javaws.desktop \
@@ -1253,10 +1253,7 @@
touch stamps/extract-hotspot.stamp
clean-extract-hotspot:
- if test -L openjdk/hotspot ; then \
- rm -f openjdk/hotspot
- fi
- rm -rf hotspot-$(HS_CHANGESET)
+ rm -rf openjdk/hotspot
rm -f stamps/extract-hotspot.stamp
stamps/sanitise-openjdk.stamp: stamps/extract-openjdk.stamp \
@@ -2122,7 +2119,9 @@
clean-add-jamvm:
rm -rf $(BUILD_JRE_ARCH_DIR)/jamvm
- sed -i 's#-jamvm KNOWN#-jamvm ERROR#' jvm.cfg
+ if [ -e $(BUILD_JRE_ARCH_DIR)/jvm.cfg ] ; then \
+ sed -i 's#-jamvm KNOWN#-jamvm ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \
+ fi
rm -f stamps/add-jamvm.stamp
stamps/add-jamvm-debug.stamp: stamps/icedtea-debug.stamp stamps/jamvm.stamp
@@ -2138,7 +2137,9 @@
clean-add-jamvm-debug:
rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/jamvm
- sed -i 's#-jamvm KNOWN#-jamvm ERROR#' jvm.cfg
+ if [ -e $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ] ; then \
+ sed -i 's#-jamvm KNOWN#-jamvm ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \
+ fi
rm -f stamps/add-jamvm-debug.stamp
# CACAO
More information about the distro-pkg-dev
mailing list