summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-02 16:34:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-06-02 16:34:54 +0000
commit0e99ecfceaca8fd92e91fe8256d2c4759e62da5c (patch)
treed0150383c7a2b14053c3c90ba7228f38e88a4361 /tools
parenta5d697dc7d76aae74bb2fdda274a2318844f314d (diff)
downloadrtems-0e99ecfceaca8fd92e91fe8256d2c4759e62da5c.tar.bz2
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
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.
Diffstat (limited to 'tools')
-rw-r--r--tools/build/Makefile.am8
-rw-r--r--tools/build/Makefile.in8
2 files changed, 12 insertions, 4 deletions
diff --git a/tools/build/Makefile.am b/tools/build/Makefile.am
index e7c73b923d..97374498b8 100644
--- a/tools/build/Makefile.am
+++ b/tools/build/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
diff --git a/tools/build/Makefile.in b/tools/build/Makefile.in
index 2aaee48aec..a5ef0c5a31 100644
--- a/tools/build/Makefile.in
+++ b/tools/build/Makefile.in
@@ -469,8 +469,12 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
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