mirror of git://gcc.gnu.org/git/gcc.git
Makefile.in (install_to_libdir): Add $(DESTDIR).
* Makefile.in (install_to_libdir): Add $(DESTDIR). (install_to_tooldir): Likewise. From-SVN: r54906
This commit is contained in:
parent
45c64f4fef
commit
112bae7721
|
|
@ -1,3 +1,8 @@
|
||||||
|
2002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
|
||||||
|
|
||||||
|
* Makefile.in (install_to_libdir): Add $(DESTDIR).
|
||||||
|
(install_to_tooldir): Likewise.
|
||||||
|
|
||||||
2002-06-17 Douglas Rupp <rupp@gnat.com>
|
2002-06-17 Douglas Rupp <rupp@gnat.com>
|
||||||
|
|
||||||
* lbasename.c: Add 2002 to copyright.
|
* lbasename.c: Add 2002 to copyright.
|
||||||
|
|
|
||||||
|
|
@ -256,25 +256,25 @@ INSTALL_DEST = @INSTALL_DEST@
|
||||||
install: install_to_$(INSTALL_DEST) install-subdir
|
install: install_to_$(INSTALL_DEST) install-subdir
|
||||||
|
|
||||||
install_to_libdir: all
|
install_to_libdir: all
|
||||||
$(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
||||||
( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
||||||
mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
||||||
if test -n "${target_header_dir}"; then \
|
if test -n "${target_header_dir}"; then \
|
||||||
case "${target_header_dir}" in \
|
case "${target_header_dir}" in \
|
||||||
/*) thd=${target_header_dir};; \
|
/*) thd=${target_header_dir};; \
|
||||||
*) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \
|
*) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \
|
||||||
esac; \
|
esac; \
|
||||||
${mkinstalldirs} $${thd}; \
|
${mkinstalldirs} $(DESTDIR)$${thd}; \
|
||||||
for h in ${INSTALLED_HEADERS}; do \
|
for h in ${INSTALLED_HEADERS}; do \
|
||||||
${INSTALL_DATA} $$h $${thd}; \
|
${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
|
||||||
done; \
|
done; \
|
||||||
fi
|
fi
|
||||||
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
|
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
|
||||||
|
|
||||||
install_to_tooldir: all
|
install_to_tooldir: all
|
||||||
$(INSTALL_DATA) $(TARGETLIB) $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n
|
$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n
|
||||||
( cd $(tooldir)/lib$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
( cd $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
||||||
mv -f $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)
|
mv -f $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB)
|
||||||
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
|
@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
|
||||||
|
|
||||||
# needed-list is used by libstdc++. NEEDED is the list of functions
|
# needed-list is used by libstdc++. NEEDED is the list of functions
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue