From 0e99ecfceaca8fd92e91fe8256d2c4759e62da5c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 2 Jun 1999 16:34:54 +0000 Subject: Patch from Ralf Corsepius : This patch fixes a nasty problem with build-tools/Makefile.am: When using install-sh instead of /usr/bin/install, only the first file gets installed during the preinstall stage. --- c/build-tools/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'c/build-tools/Makefile.am') diff --git a/c/build-tools/Makefile.am b/c/build-tools/Makefile.am index e7c73b923d..97374498b8 100644 --- a/c/build-tools/Makefile.am +++ b/c/build-tools/Makefile.am @@ -26,8 +26,12 @@ noinst_SCRIPTS = search-id.sh install-exec-local: $(bin_PROGRAMS) $(bin_SCRIPTS) if test -n "${RTEMS_BSP}"; then \ $(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ - $(INSTALL_SCRIPT) $(bin_SCRIPTS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ - $(INSTALL_PROGRAM) $(bin_PROGRAMS) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ + for i in $(bin_SCRIPTS); do \ + $(INSTALL_SCRIPT) $$i $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ + done; \ + for i in $(bin_PROGRAMS); do \ + $(INSTALL_PROGRAM) $$i $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \ + done; \ fi preinstall: install-exec-local -- cgit v1.2.3