From: Peter Breitenlohner Date: Fri, 8 Jul 2005 15:54:57 +0000 (+0000) Subject: * Makefile.am (install-data-local): Have root own of installed X-Git-Tag: release-2-1b~613 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d16ee3379b0f6219be3275b3ebcb660c0edd7cec;p=thirdparty%2Flibtool.git * Makefile.am (install-data-local): Have root own of installed files (but do not fail, for user installs). --- diff --git a/ChangeLog b/ChangeLog index a244630d8..783388660 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-08 Peter Breitenlohner + + * Makefile.am (install-data-local): Have root own of installed + files (but do not fail, for user installs). + 2005-07-08 Bruno Haible * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) diff --git a/Makefile.am b/Makefile.am index 87396da72..8624cf17d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -254,6 +254,8 @@ install-data-local: done; \ ( cd $(srcdir)/m4 && $(AMTAR) chf - $$aclocalfiles; ) \ | ( umask 0 && cd $(DESTDIR)$(aclocaldir) && $(AMTAR) xf -; ) + chown -R root $(DESTDIR)$(ltdldatadir) && \ + chgrp -R root $(DESTDIR)$(ltdldatadir) || : install-data-hook: chmod +x $(DESTDIR)$(pkgdatadir)/config/config.guess