* Makefile.am (install-data-local): Have root own of installed

files (but do not fail, for user installs).
This commit is contained in:
Peter Breitenlohner 2005-07-08 15:55:35 +00:00 committed by Ralf Wildenhues
parent c9a5f8f7e1
commit d83d04b49c
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-07-08 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am (install-data-local): Have root own of installed
files (but do not fail, for user installs).
2005-07-08 Bruno Haible <bruno@clisp.org>
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <postinstall_cmds>

View File

@ -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