changeset in /hg/icedtea6: Fix paths.

Andrew John Hughes gnu_andrew at member.fsf.org
Mon Oct 20 04:25:42 PDT 2008


changeset 1fddd063617e in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=1fddd063617e
description:
	Fix paths.

	2008-10-20  Andrew John Hughes  <gnu_andrew at member.fsf.org>

		* Makefile.am:
		Fix LiveConnect and PulseAudio paths to work
		when srcdir != builddir.

diffstat:

2 files changed, 12 insertions(+), 6 deletions(-)
ChangeLog   |    6 ++++++
Makefile.am |   12 ++++++------

diffs (57 lines):

diff -r a4df7fa32706 -r 1fddd063617e ChangeLog
--- a/ChangeLog	Mon Oct 20 11:05:12 2008 +0100
+++ b/ChangeLog	Mon Oct 20 12:25:28 2008 +0100
@@ -1,3 +1,9 @@ 2008-10-20  Alon Bar-Lev  <alon.barlev at g
+2008-10-20  Andrew John Hughes  <gnu_andrew at member.fsf.org>
+
+	* Makefile.am:
+	Fix LiveConnect and PulseAudio paths to work
+	when srcdir != builddir.
+
 2008-10-20  Alon Bar-Lev  <alon.barlev at gmail.com>
 
 	PR icedtea/224:
diff -r a4df7fa32706 -r 1fddd063617e Makefile.am
--- a/Makefile.am	Mon Oct 20 11:05:12 2008 +0100
+++ b/Makefile.am	Mon Oct 20 12:25:28 2008 +0100
@@ -30,10 +30,10 @@ endif
 
 if ENABLE_PULSE_JAVA
 # include the makefile in pulseaudio subdir
-PULSE_JAVA_DIR = pulseaudio
+PULSE_JAVA_DIR = $(srcdir)/pulseaudio
 PULSE_JAVA_NATIVE_SRCDIR = $(PULSE_JAVA_DIR)/src/native
 PULSE_JAVA_JAVA_SRCDIR = $(PULSE_JAVA_DIR)/src/java
-PULSE_JAVA_CLASS_DIR = $(PULSE_JAVA_DIR)/bin
+PULSE_JAVA_CLASS_DIR = $(abs_top_builddir)/pulseaudio
 else 
 PULSE_JAVA_DIR =
 PULSE_JAVA_NATIVE_SRCDIR =
@@ -639,8 +639,8 @@ stamps/patch.stamp: stamps/patch-fsg.sta
 	sed -i "s#IcedTea6#IcedTea6 $${icedtea_version}#" openjdk/jdk/make/common/shared/Defs.gmk
 
 if ENABLE_PLUGIN
-	cp -a plugin/icedtea/sun/applet/*java openjdk/jdk/src/share/classes/sun/applet/
-	cp -a plugin/icedtea/netscape rt/
+	cp -a $(srcdir)/plugin/icedtea/sun/applet/*java openjdk/jdk/src/share/classes/sun/applet/
+	cp -a $(srcdir)/plugin/icedtea/netscape rt/
 endif
 
 clean-patch:
@@ -1469,14 +1469,14 @@ if ENABLE_PULSE_JAVA
 	if ! test -d $(ICEDTEA_BOOT_DIR) ; \
 	then \
 		(cd $(PULSE_JAVA_JAVA_SRCDIR); \
-		 $(JAVAC) -d ../../../$(PULSE_JAVA_CLASS_DIR) \
+		 $(JAVAC) -d $(PULSE_JAVA_CLASS_DIR) \
 		-bootclasspath  \
 	        '$(OPENJDK_SOURCEPATH_DIRS):$(abs_top_builddir)/generated' \
 		org/classpath/icedtea/pulseaudio/*.java\
 		) \
         else \
 		(cd $(PULSE_JAVA_JAVA_SRCDIR); \
-		$(ICEDTEA_BOOT_DIR)/bin/javac -d ../../../$(PULSE_JAVA_CLASS_DIR)\
+		$(ICEDTEA_BOOT_DIR)/bin/javac -d $(PULSE_JAVA_CLASS_DIR)\
 		-bootclasspath \
 	        '$(ICEDTEA_BOOT_DIR)/jre/lib/rt.jar' \
 		org/classpath/icedtea/pulseaudio/*.java\



More information about the distro-pkg-dev mailing list