# HG changeset patch # User Andrew John Hughes # Date 1243010611 -3600 # Node ID 1d35cf933a99679f22a31a1488b194e1c0f89601 # Parent 082075fb775e47c74d7a2aec73583776e5b3b0c5 Avoid build conflicts when using IcedTea6 and pre-generated Nimbus. 2009-05-22 Andrew John Hughes * Makefile.am: Copy over Nimbus source files manually rather than using generated as GENSRC to avoid conflicts with IcedTea6. diff -r 082075fb775e -r 1d35cf933a99 ChangeLog --- a/ChangeLog Thu May 21 20:10:28 2009 +0100 +++ b/ChangeLog Fri May 22 17:43:31 2009 +0100 @@ -1,3 +1,10 @@ +2009-05-22 Andrew John Hughes + + * Makefile.am: + Copy over Nimbus source files manually + rather than using generated as GENSRC + to avoid conflicts with IcedTea6. + 2009-05-21 Andrew John Hughes * acinclude.m4: diff -r 082075fb775e -r 1d35cf933a99 Makefile.am --- a/Makefile.am Thu May 21 20:10:28 2009 +0100 +++ b/Makefile.am Fri May 22 17:43:31 2009 +0100 @@ -1581,11 +1581,6 @@ "ALT_JAR_CMD=$(ALT_JAR_CMD)" endif -if !ENABLE_NIMBUS_GENERATION -ICEDTEA_ENV += \ - "GENSRCDIR=$(abs_top_builddir)/generated" -endif - env: @echo 'unset JAVA_HOME' @echo 'export $(ICEDTEA_ENV)' @@ -3140,6 +3135,10 @@ ln -s $(XPP3_JAR) $(JIBX_DEPS_DIR) ln -s $(JIBX_DIR)/jibx-bind.jar $(JIBX_DEPS_DIR) ln -s $(JIBX_DIR)/jibx-run.jar $(JIBX_DEPS_DIR) +else + mkdir -p $(BUILD_OUTPUT_DIR)/gensrc/javax/swing/plaf + cp -a $(abs_topbuilddir)/generated/javax/swing/plaf/nimbus \ + $(BUILD_OUTPUT_DIR)/gensrc/javax/swing/plaf endif endif mkdir -p stamps