summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-12-12 05:29:58 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-12-12 05:29:58 +0000
commit64afa8e04ec6dc908ebdf275240cc936c92ae1a2 (patch)
treec0f9ef7599a4df1245aa4c714fdcfd2e314d3580
parent2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-64afa8e04ec6dc908ebdf275240cc936c92ae1a2.tar.bz2
2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Apply install-data-local to install *.rels.
Diffstat (limited to '')
-rw-r--r--c/src/optman/ChangeLog4
-rw-r--r--c/src/optman/Makefile.am9
2 files changed, 11 insertions, 2 deletions
diff --git a/c/src/optman/ChangeLog b/c/src/optman/ChangeLog
index fe61ec202d..773cd75d64 100644
--- a/c/src/optman/ChangeLog
+++ b/c/src/optman/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * Makefile.am: Apply install-data-local to install *.rels.
+
2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Eliminate *_O_FILES.
diff --git a/c/src/optman/Makefile.am b/c/src/optman/Makefile.am
index 0ab4c2ee73..92997f5afe 100644
--- a/c/src/optman/Makefile.am
+++ b/c/src/optman/Makefile.am
@@ -28,8 +28,6 @@ ${ARCH}/%.$(OBJEXT): rtems/%.c
${ARCH}/%$(LIB_VARIANT).rel: ${ARCH}/%.o
${make-rel}
-bsplib_DATA = $(PGMS)
-
TMPINSTALL_FILES += \
$(PGMS:${ARCH}/%$(LIB_VARIANT).rel=$(PROJECT_RELEASE)/lib/%$(LIB_VARIANT).rel)
@@ -38,6 +36,13 @@ $(PROJECT_RELEASE)/lib/%$(LIB_VARIANT).rel: $(ARCH)/%$(LIB_VARIANT).rel
all-local: ${ARCH} $(PGMS) $(TMPINSTALL_FILES)
+install-data-local: $(PGMS)
+ @$(mkinstalldirs) $(DESTDIR)$(bsplibdir)
+ @list='$(PGMS)'; for p in $$list; do \
+ echo "$(INSTALL_DATA) $$p $(DESTDIR)$(bsplibdir)" ; \
+ $(INSTALL_DATA) $$p $(DESTDIR)$(bsplibdir); \
+ done
+
.PRECIOUS: $(PGMS) $(OBJS)
EXTRA_DIST = $(rtems_C_FILES) $(sapi_C_FILES)