Mercurial > hg > release > icedtea7-2.2
changeset 2287:5c660ac28d6b
PR icedtea/521: Don't hardlink the copy of generated.
2010-07-15 Andrew John Hughes <ahughes@redhat.com>
PR icedtea/521
* Makefile.am:
(generated): Don't use hardlinking as
generated is altered by the build.
Use chmod -R rather than find.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Wed, 14 Jul 2010 21:49:22 +0100 |
parents | df20b69a67d3 |
children | 0f9a93d2866d |
files | ChangeLog Makefile.am |
diffstat | 2 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jul 14 20:50:06 2010 +0100 +++ b/ChangeLog Wed Jul 14 21:49:22 2010 +0100 @@ -1,3 +1,11 @@ +2010-07-15 Andrew John Hughes <ahughes@redhat.com> + + PR icedtea/521 + * Makefile.am: + (generated): Don't use hardlinking as + generated is altered by the build. + Use chmod -R rather than find. + 2010-07-14 Andrew John Hughes <ahughes@redhat.com> Fix new issues with make distcheck.
--- a/Makefile.am Wed Jul 14 20:50:06 2010 +0100 +++ b/Makefile.am Wed Jul 14 21:49:22 2010 +0100 @@ -1325,9 +1325,8 @@ stamps/generated.stamp: stamps/ports.stamp set -e ; \ 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 '{}' ';'; \ + cp -pPR $(abs_top_srcdir)/generated $(abs_top_builddir)/generated.build; \ + chmod -R u+w $(abs_top_builddir)/generated.build ; \ fi mkdir -p stamps touch $@