summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/ChangeLog4
-rw-r--r--c/src/Makefile.am11
2 files changed, 9 insertions, 6 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index 5db0a1f891..774c049076 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,3 +1,7 @@
+2001-02-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * Makefile.am: install to $(exec_prefix)/@RTEMS_BSP@.
+
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
diff --git a/c/src/Makefile.am b/c/src/Makefile.am
index 1d9e310a21..717ad34e74 100644
--- a/c/src/Makefile.am
+++ b/c/src/Makefile.am
@@ -7,17 +7,16 @@ ACLOCAL_AMFLAGS = -I ../../aclocal
SUBDIRS = make @hst_subdirs@ wrapup tests
-rtems_bspdir = $(prefix)/@RTEMS_BSP@
-
# NOTE: The wildcard on the install should pick up everything except
# the tests directory. This significantly minimizes the install size.
install-data-local:
- $(mkinstalldirs) $(rtems_bspdir)
- cd $(PROJECT_ROOT); \
- tar cf - @RTEMS_BSP@/[bilsuM]* | (cd $(DESTDIR)$(prefix); tar xpBf - );
+ $(mkinstalldirs) $(DESTDIR)$(exec_prefix)/@RTEMS_BSP@
+ cd $(PROJECT_ROOT)/@RTEMS_BSP@; \
+ tar cf - [bilsuM]* | \
+ (cd $(DESTDIR)$(exec_prefix)/@RTEMS_BSP@; tar xpBf - );
uninstall-local:
- rm -rf $(rtems_bspdir)/[bsl]*;
+ rm -rf $(DESTDIR)$(exec_prefix)/@RTEMS_BSP@/[bsl]*;
include $(top_srcdir)/../../automake/subdirs.am
include $(top_srcdir)/../../automake/host.am