This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Install plugins into $(DESTDIR)


Currently install-plugins tries to $(mkinstalldirs) directly into the live
filesystem.  I don't have a copyright assignment or commit access so I'm
hoping this counts as obvious.


2009-05-23  Ryan Hill  <dirtyepic@gentoo.org>

        * Makefile.in (install-plugin): Prepend $(DESTDIR) to
        $(mkinstalldirs).


-- 
gcc-porting,                                      by design, by neglect
treecleaner,                              for a fact or just for effect
wxwidgets @ gentoo     EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
2009-05-23  Ryan Hill  <dirtyepic@gentoo.org>

	* Makefile.in (install-plugin): Prepend $(DESTDIR) to
	$(mkinstalldirs).

Index: gcc/Makefile.in
===================================================================
--- gcc/Makefile.in	(revision 147835)
+++ gcc/Makefile.in	(working copy)
@@ -4041,7 +4041,7 @@
 	  dest=$(plugin_includedir)/$$base; \
 	  echo $(INSTALL_DATA) $$path $(DESTDIR)/$$dest; \
 	  dir=`dirname $$dest`; \
-	  $(mkinstalldirs) $$dir; \
+	  $(mkinstalldirs) $(DESTDIR)/$$dir; \
 	  $(INSTALL_DATA) $$path $(DESTDIR)/$$dest; \
 	done
 

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]