Mercurial > hg > release > icedtea7-2.2
changeset 2284:ebc77668bad5
Use a different name for the build copy of the generated directory.
2010-07-12 Andrew John Hughes <ahughes@redhat.com>
PR icedtea/521
(ICEDTEA_ENV): Use generated.build.
(generated): Copy to generated.build rather than
generated so the source and build copies are clearly
distinct (and present on srcdir=builddir builds)
(clean-generated): Delete generated.build in all cases.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Mon, 12 Jul 2010 19:32:13 +0100 |
parents | 23c9af44a7d5 |
children | 8723b60d4996 |
files | ChangeLog Makefile.am |
diffstat | 2 files changed, 14 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Jul 12 17:55:39 2010 +0100 +++ b/ChangeLog Mon Jul 12 19:32:13 2010 +0100 @@ -1,3 +1,12 @@ +2010-07-12 Andrew John Hughes <ahughes@redhat.com> + + PR icedtea/521 + (ICEDTEA_ENV): Use generated.build. + (generated): Copy to generated.build rather than + generated so the source and build copies are clearly + distinct (and present on srcdir=builddir builds) + (clean-generated): Delete generated.build in all cases. + 2010-07-12 Andrew John Hughes <ahughes@redhat.com> PR icedtea/521
--- a/Makefile.am Mon Jul 12 17:55:39 2010 +0100 +++ b/Makefile.am Mon Jul 12 19:32:13 2010 +0100 @@ -552,7 +552,7 @@ BOOTCLASSPATH_CLS_RT="-bootclasspath $(ICEDTEA_CLS_DIR_BOOT):$(ICEDTEA_RT)" \ BOOTCLASSPATH_CLS="-bootclasspath $(ICEDTEA_CLS_DIR_BOOT)" \ BOOTCLASSPATH_RT_LIBGCJ="-bootclasspath $(ICEDTEA_RT)" \ - GENSRCDIR="$(abs_top_builddir)/generated" \ + GENSRCDIR="$(abs_top_builddir)/generated.build" \ JAR_KNOWS_ATFILE="$(JAR_KNOWS_ATFILE)" \ JAR_KNOWS_J_OPTIONS="$(JAR_KNOWS_J_OPTIONS)" \ JAR_ACCEPTS_STDIN_LIST="$(JAR_ACCEPTS_STDIN_LIST)" \ @@ -1314,18 +1314,16 @@ stamps/generated.stamp: stamps/ports.stamp set -e ; \ - if [ ! -e $(abs_top_builddir)/generated ]; then \ - cp -pPR $(SRC_DIR_LINK) $(abs_top_srcdir)/generated $(abs_top_builddir); \ - find $(abs_top_builddir)/generated -type f -exec chmod 640 '{}' ';' \ + if [ ! -e $(abs_top_builddir)/generated.build ]; then \ + cp -pPR $(SRC_DIR_LINK) $(abs_top_srcdir)/generated $(abs_top_builddir)/generated.build; \ + find $(abs_top_builddir)/generated.build -type f -exec chmod 640 '{}' ';' \ -o -type d -exec chmod 750 '{}' ';'; \ fi mkdir -p stamps touch $@ clean-generated: - if [ $(abs_top_srcdir) != $(abs_top_builddir) ]; then \ - rm -rf $(abs_top_builddir)/generated ; \ - fi + rm -rf $(abs_top_builddir)/generated.build rm -f stamps/generated.stamp stamps/patch-fsg.stamp: stamps/generated.stamp