From: Peter Breitenlohner Date: Fri, 8 Jul 2005 15:55:35 +0000 (+0000) Subject: * Makefile.am (install-data-local): Have root own of installed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d83d04b49c61dc564fce7a156235a1be2c4e78ec;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 4360b1a85..99947dce5 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 20e186909..b32e6d883 100644 --- a/Makefile.am +++ b/Makefile.am @@ -236,6 +236,8 @@ install-data-local: $(mkinstalldirs) $(DESTDIR)$(ltdldatadir) ( cd $(srcdir)/libltdl && $(AMTAR) chf - $(ltdldatafiles); ) \ | ( umask 0 && cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; ) + chown -R root $(DESTDIR)$(ltdldatadir) && \ + chgrp -R root $(DESTDIR)$(ltdldatadir) || : install-data-hook: chmod +x $(DESTDIR)$(pkgdatadir)/config.guess