format with the `o' flag in create mode.
Set the umask to 0 when untarring to avoid copied files taking
their mode from the installer's umask.
* libltdl/loaders/Makefile.am (install-data-local): Ditto.
* libtoolize.m4sh (func_copy_cb): Ditto.
Ignore errors from failed `cd' in the tar processes, since we
may be running in dryrun mode.
Reported by Noah Misch <noah@cs.caltech.edu>,
Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
+2005-03-10 Gary V. Vaughan <gary@gnu.org>
+
+ * libltdl/Makefile.am (install-data-local): Don't force v7 tar
+ format with the `o' flag in create mode.
+ Set the umask to 0 when untarring to avoid copied files taking
+ their mode from the installer's umask.
+ * libltdl/loaders/Makefile.am (install-data-local): Ditto.
+ * libtoolize.m4sh (func_copy_cb): Ditto.
+ Ignore errors from failed `cd' in the tar processes, since we
+ may be running in dryrun mode.
+ Reported by Noah Misch <noah@cs.caltech.edu>,
+ Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
+
2005-03-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/Makefile.am: $(builddir) is not defined, replace by `.'.
## These are installed as a subdirectory of pkgdatadir so that
## libtoolize --ltdl can find them later:
ltdldatadir = $(pkgdatadir)/libltdl
-ltdldatafiles = COPYING.LIB Makefile.am README configure.ac \
+ltdldatafiles = COPYING.LIB README \
+ Makefile.am Makefile.in \
+ configure.ac configure \
$(libltdl_la_SOURCES) \
lt__dirent.c libltdl/lt__dirent.h \
lt__strl.c libltdl/lt__strl.h \
## with libtoolize, we have to preserve their timestamps carefully:
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
- ( cd $(srcdir) && $(AMTAR) chof - $(ltdldatafiles); ) \
- | ( cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
+ ( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \
+ | ( umask 0; cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
## Make sure these will be cleaned even when they're not built by default:
CLEANFILES = libltdl.la libltdlc.la libdlloader.la
## These are installed as a subdirectory of pkgdatadir so that
## libtoolize --ltdl can find them later:
ltdldatadir = $(pkgdatadir)/libltdl/loaders
-ltdldatafiles = Makefile.am dld_link.c dlopen.c dyld.c \
+ltdldatafiles = Makefile.am Makefile.in \
+ dld_link.c dlopen.c dyld.c \
load_add_on.c loadlibrary.c shl_load.c
## To avoid spurious reconfiguration when the user installs these files
## with libtoolize, we have to preserve their timestamps carefully:
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
- ( cd $(srcdir) && $(AMTAR) chof - $(ltdldatafiles); ) \
- | ( cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
+ ( cd $(srcdir) && $(AMTAR) chf - $(ltdldatafiles); ) \
+ | ( umask 0; cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
+
if $opt_link && $LN_S "$my_srcdir/$my_file" "$my_destdir/$my_file"; then
$opt_quiet || func_echo "copying file \`$my_destdir/$my_file'"
copy_return_status=0
- elif { ( cd "$my_srcdir" && $TAR chof - "$my_file" 2> /dev/null; ) \
- | ( cd "$my_destdir" && "$TAR" xf - > /dev/null 2>&1; ) } ; then
+ elif { ( cd "$my_srcdir" 2>/dev/null && $TAR chf - "$my_file" 2> /dev/null; ) \
+ | ( umask 0; cd "$my_destdir" 2>/dev/null && "$TAR" xf - > /dev/null 2>&1; ) }
+ then
$opt_quiet || func_echo "copying file \`$my_destdir/$my_file'"
copy_return_status=0
elif $CP -p "$my_srcdir/$my_file" "$my_destdir/$my_file"; then