diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2002-06-22 10:57:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2002-06-22 20:27:46 +0930 |
commit | 112bae7721708444619bfd87e881226918d9fd1b (patch) | |
tree | a506c1094ac91fd75d4b2872d2aeb4c4eba19beb /libiberty/Makefile.in | |
parent | 45c64f4feffea697575c115f29cf54af98336c78 (diff) | |
download | gcc-112bae7721708444619bfd87e881226918d9fd1b.zip gcc-112bae7721708444619bfd87e881226918d9fd1b.tar.gz gcc-112bae7721708444619bfd87e881226918d9fd1b.tar.bz2 |
Makefile.in (install_to_libdir): Add $(DESTDIR).
* Makefile.in (install_to_libdir): Add $(DESTDIR).
(install_to_tooldir): Likewise.
From-SVN: r54906
Diffstat (limited to 'libiberty/Makefile.in')
-rw-r--r-- | libiberty/Makefile.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 3dccfad..6018972 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -256,25 +256,25 @@ INSTALL_DEST = @INSTALL_DEST@ install: install_to_$(INSTALL_DEST) install-subdir install_to_libdir: all - $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n - ( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) - mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(libdir)$(MULTISUBDIR)/$(TARGETLIB) + $(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) if test -n "${target_header_dir}"; then \ case "${target_header_dir}" in \ /*) thd=${target_header_dir};; \ *) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \ esac; \ - ${mkinstalldirs} $${thd}; \ + ${mkinstalldirs} $(DESTDIR)$${thd}; \ for h in ${INSTALLED_HEADERS}; do \ - ${INSTALL_DATA} $$h $${thd}; \ + ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ done; \ fi @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install install_to_tooldir: all - $(INSTALL_DATA) $(TARGETLIB) $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n - ( cd $(tooldir)/lib$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) - mv -f $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB) + $(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) @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install # needed-list is used by libstdc++. NEEDED is the list of functions |