]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/wx.bkl
added DESTDIR support to make install
[wxWidgets.git] / build / bakefiles / wx.bkl
index 53f72b47f68b6c9a3a969cbae8dff5f5faf6c2cd..c21d88a773b87dbbb8ea4509a5e97f29a92814ac 100644 (file)
@@ -54,9 +54,9 @@
         <action id="install-wxconfig">
             <dependency-of>install</dependency-of>
             <command>
-                $(INSTALL_DIR) $(BINDIR)
-                $(INSTALL_PROGRAM) wx$(TOOLCHAIN_NAME)-config $(BINDIR)
-                (cd $(BINDIR) &amp;&amp; rm -f wx-config &amp;&amp; $(LN_S) wx$(TOOLCHAIN_NAME)-config wx-config)
+                $(INSTALL_DIR) $(DESTDIR)$(BINDIR)
+                $(INSTALL_PROGRAM) wx$(TOOLCHAIN_NAME)-config $(DESTDIR)$(BINDIR)
+                (cd $(DESTDIR)$(BINDIR) &amp;&amp; rm -f wx-config &amp;&amp; $(LN_S) wx$(TOOLCHAIN_NAME)-config wx-config)
             </command>
         </action>