[PATCH] Make.rules: Allow INSTALLDIRS target to work properly for prefix path containing spaces

Srivatsa R Kanchi srivatsa.kanchi at yahoo.com
Fri Sep 21 15:07:31 CDT 2007


This patch allows for having prefix path contain multi-word directory
names and targets like 'install-lib' to work properly. double quoted the
argument passed to MKINSTALLDIRS
---
 Make.rules.in |    2 +-    
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Make.rules.in b/Make.rules.in
index a32b276..ba9aa81 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -265,7 +265,7 @@ install:: $(INSTALLSUBDIRS:%=%/__install__)
 uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__)
 
 $(INSTALLDIRS):
-   $(MKINSTALLDIRS) $@
+   $(MKINSTALLDIRS) "$@"

 .PHONY: install install-lib install-dev uninstall \
    $(SUBDIRS:%=%/__install__) $(SUBDIRS:%=%/__uninstall__) \
--
1.4.4.2




      Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/ 



More information about the wine-patches mailing list