From a3e695acfb5cd62bc8476279d092f9fa7df74487 Mon Sep 17 00:00:00 2001 From: fche Date: Wed, 18 Apr 2007 19:04:20 +0000 Subject: 2007-04-18 Frank Ch. Eigler * Makefile.am (install-elfutils): Use $INSTALL_PROGRAM to copy elfutils shared libraries, as suggested by Perry Cheng . --- ChangeLog | 6 ++++++ Makefile.am | 5 +++-- Makefile.in | 5 +++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 10e8d70a..f0f11e58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-04-18 Frank Ch. Eigler + + * Makefile.am (install-elfutils): Use $INSTALL_PROGRAM to + copy elfutils shared libraries, as suggested by Perry Cheng + . + 2007-04-18 Frank Ch. Eigler * parse.cxx (scan_pp): Correct warnings from if/if/else nesting. diff --git a/Makefile.am b/Makefile.am index 00503ec7..60066402 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,8 +45,9 @@ lib-elfutils/libdw.so: stamp-elfutils ; .PHONY: install-elfutils install-elfutils: mkdir -p $(pkglibdir) - cp -df lib-elfutils/*.so* lib-elfutils/${PACKAGE_NAME}/*.so* \ - $(pkglibdir) + for file in lib-elfutils/*.so* lib-elfutils/${PACKAGE_NAME}/*.so*; do \ + $(INSTALL_PROGRAM) $$file $(pkglibdir); \ + done install-exec-local: install-elfutils endif diff --git a/Makefile.in b/Makefile.in index 9016f7cf..c84f4592 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1325,8 +1325,9 @@ uninstall-man: uninstall-man1 uninstall-man5 uninstall-man8 @BUILD_ELFUTILS_TRUE@.PHONY: install-elfutils @BUILD_ELFUTILS_TRUE@install-elfutils: @BUILD_ELFUTILS_TRUE@ mkdir -p $(pkglibdir) -@BUILD_ELFUTILS_TRUE@ cp -df lib-elfutils/*.so* lib-elfutils/${PACKAGE_NAME}/*.so* \ -@BUILD_ELFUTILS_TRUE@ $(pkglibdir) +@BUILD_ELFUTILS_TRUE@ for file in lib-elfutils/*.so* lib-elfutils/${PACKAGE_NAME}/*.so*; do \ +@BUILD_ELFUTILS_TRUE@ $(INSTALL_PROGRAM) $$file $(pkglibdir); \ +@BUILD_ELFUTILS_TRUE@ done @BUILD_ELFUTILS_TRUE@install-exec-local: install-elfutils # Copy some of the testsuite sample scripts to the distdir -- cgit