From 2e6a336dc16c56fd8868ef039f439d04dc8a7a44 Mon Sep 17 00:00:00 2001 From: aj Date: Thu, 9 Jan 2003 08:10:57 +0000 Subject: 2003-01-09 Christian Cornelssen * Makefile.in (install_to_libdir, install_to_tooldir): Add a mkinstalldirs command. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61083 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/ChangeLog | 3 +++ libiberty/Makefile.in | 2 ++ 2 files changed, 5 insertions(+) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 8a756b071b8..3b236b01b39 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -2,6 +2,9 @@ * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR. + * Makefile.in (install_to_libdir, install_to_tooldir): Add a + mkinstalldirs command. + 2002-12-04 Danny Smith * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX): diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 9e913ee531d..1af4c32277e 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -262,6 +262,7 @@ INSTALL_DEST = @INSTALL_DEST@ install: install_to_$(INSTALL_DEST) install-subdir install_to_libdir: all + ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR) $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB) @@ -278,6 +279,7 @@ install_to_libdir: all @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install install_to_tooldir: all + ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR) $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n ( cd $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) mv -f $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB) -- cgit v1.2.1