This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] add missing DESTDIR in install-plugin target
Matthias Klose <doko@ubuntu.com> writes:
> ok, not more broken than before. removing the extra slash in every location.
> test installation succeeds. ok for the trunk?
>
> Index: gcc/Makefile.in
> ===================================================================
> --- gcc/Makefile.in (revision 148783)
> +++ gcc/Makefile.in (working copy)
> @@ -4064,10 +4064,10 @@
> *) base=`basename $$path` ;; \
> esac; \
> dest=$(plugin_includedir)/$$base; \
> - echo $(INSTALL_DATA) $$path $(DESTDIR)/$$dest; \
> + echo $(INSTALL_DATA) $$path $(DESTDIR)$$dest; \
> dir=`dirname $$dest`; \
> - $(mkinstalldirs) $(DESTDIR)/$$dir; \
> - $(INSTALL_DATA) $$path $(DESTDIR)/$$dest; \
> + $(mkinstalldirs) $(DESTDIR)$$dir; \
> + $(INSTALL_DATA) $$path $(DESTDIR)$$dest; \
> done
>
> # Install the compiler executables built during cross compilation.
This is OK.
Thanks.
Ian