From 16f417c1167b22a0728bad9c1595af34507f006c Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 12 Dec 2002 17:56:50 +0000 Subject: 2002-12-12 Ralf Corsepius * wrapup/Makefile.am: Don't create $ARCH. Use install-data-local to install librtemscpu.a --- cpukit/ChangeLog | 5 +++++ cpukit/wrapup/Makefile.am | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 781641a6a3..4d30e044ef 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2002-12-12 Ralf Corsepius + + * wrapup/Makefile.am: Don't create $ARCH. + Use install-data-local to install librtemscpu.a + 2002-12-12 Ralf Corsepius * wrapup/Makefile.am: Add libmisc. diff --git a/cpukit/wrapup/Makefile.am b/cpukit/wrapup/Makefile.am index e42e9686e0..90c98227c2 100644 --- a/cpukit/wrapup/Makefile.am +++ b/cpukit/wrapup/Makefile.am @@ -45,7 +45,6 @@ endif $(LIB): ${LIBS} rm -f $@ - test -d $(ARCH) || mkdir $(ARCH) rm -rf $(ARCH)/* for f in $(LIBS); do \ case $$f in \ @@ -77,9 +76,10 @@ $(LIB): ${LIBS} TMPINSTALL_FILES += $(project_libdir)$(MULTISUBDIR)/librtemscpu$(LIB_VARIANT).a -cpulibdir = $(libdir) -cpulib_DATA = $(LIB) +all-am: $(ARCH) $(LIB) $(TMPINSTALL_FILES) -all-local: ${ARCH} $(TMPINSTALL_FILES) +install-data-hook: $(LIB) + $(mkinstalldir) $(DESTDIR)/$(libdir) + $(INSTALL_DATA) $(LIB) $(DESTDIR)/$(libdir) include $(top_srcdir)/automake/local.am -- cgit v1.2.3