* Peter Breitenlohner wrote on Wed, Jul 06, 2005 at 09:34:24AM CEST:
>
> What about simply
> chown -R root $(DESTDIR)$(ltdldatadir) && \
> chgrp -R root $(DESTDIR)$(ltdldatadir) || :
> where failure of chown/chgrp is ignored? Who cares about some noise when
> `make install' is done by non-root or on non-posix systems, in particular
> when the cause of such noise can easily be deduced.
FYI: I have applied this to all three branches.
Thanks,
Ralf
HEAD/branch-2-0:
2005-07-08 Peter Breitenlohner <[EMAIL PROTECTED]>
* Makefile.am (install-data-local): Have root own of installed
files (but do not fail, for user installs).
Index: Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/Makefile.am,v
retrieving revision 1.153
diff -u -r1.153 Makefile.am
--- Makefile.am 2 May 2005 09:20:24 -0000 1.153
+++ Makefile.am 8 Jul 2005 15:54:01 -0000
@@ -254,6 +254,8 @@
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
branch-1-5:
2005-07-08 Peter Breitenlohner <[EMAIL PROTECTED]>
* libltdl/Makefile.am (local-install-files): Have root own of
installed files (but do not fail, for user installs).
Index: libltdl/Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/Makefile.am,v
retrieving revision 1.42.2.6
diff -u -r1.42.2.6 Makefile.am
--- libltdl/Makefile.am 2 May 2005 12:52:07 -0000 1.42.2.6
+++ libltdl/Makefile.am 8 Jul 2005 15:53:30 -0000
@@ -47,3 +47,5 @@
$(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \
| ( umask 0 && cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
+ chown -R root $(DESTDIR)$(ltdldatadir) && \
+ chgrp -R root $(DESTDIR)$(ltdldatadir) || :
_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool