Commit eb3ab245 authored by albert-github's avatar albert-github
Browse files

Bug 589707 - Flex .rule file for Visual Studio build can't cope with spaces in filenames

Adjusted the rules files and where and the vcproj file so it can handle paths with spaces as well.
When generating the documentation (Cygwin) a small problem appeared in a Makefile when there is a space in the path, this is solved as well.
parent 21178ab4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -17,7 +17,7 @@ all: language config.doc FORCE
	export DOXYGEN_DOCDIR; \
	export DOXYGEN_DOCDIR; \
        VERSION=$(VERSION) ; \
        VERSION=$(VERSION) ; \
	export VERSION; \
	export VERSION; \
	$(DOXYGEN)/bin/doxygen
	"$(DOXYGEN)/bin/doxygen"
	@rm -f ../latex/refman.tex
	@rm -f ../latex/refman.tex
	@cp doxygen_logo*.gif ../html
	@cp doxygen_logo*.gif ../html
	@cp Makefile.latex ../latex/Makefile
	@cp Makefile.latex ../latex/Makefile
+2 −2
Original line number Original line Diff line number Diff line
@@ -7,7 +7,7 @@
		<CustomBuildRule
		<CustomBuildRule
			Name="Config"
			Name="Config"
			DisplayName="Config"
			DisplayName="Config"
			CommandLine="python $(ProjectDir)..\src\configgen.py -cpp [AllOptions] [AdditionalOptions] [inputs] &gt; $(IntDir)/$(InputName)options.cpp"
			CommandLine="python &quot;$(ProjectDir)..\src\configgen.py&quot; -cpp [AllOptions] [AdditionalOptions] [inputs] &gt; $(IntDir)/$(InputName)options.cpp"
			Outputs="$(IntDir)/$(InputName)options.cpp"
			Outputs="$(IntDir)/$(InputName)options.cpp"
			FileExtensions="*.xml"
			FileExtensions="*.xml"
			AdditionalDependencies="$(ProjectDir)..\src\configgen.py"
			AdditionalDependencies="$(ProjectDir)..\src\configgen.py"
@@ -18,7 +18,7 @@
		<CustomBuildRule
		<CustomBuildRule
			Name="Config_dw"
			Name="Config_dw"
			DisplayName="Config"
			DisplayName="Config"
			CommandLine="python $(ProjectDir)..\src\configgen.py -wiz [AllOptions] [AdditionalOptions] [inputs]  &gt; $(IntDir)/$(InputName)doc.cpp"
			CommandLine="python &quot;$(ProjectDir)..\src\configgen.py&quot; -wiz [AllOptions] [AdditionalOptions] [inputs]  &gt; $(IntDir)/$(InputName)doc.cpp"
			Outputs="$(IntDir)/$(InputName)doc.cpp"
			Outputs="$(IntDir)/$(InputName)doc.cpp"
			FileExtensions="*.xml"
			FileExtensions="*.xml"
			AdditionalDependencies="$(ProjectDir)..\src\configgen.py"
			AdditionalDependencies="$(ProjectDir)..\src\configgen.py"
+4 −4
Original line number Original line Diff line number Diff line
@@ -948,7 +948,7 @@
					<Tool
					<Tool
						Name="VCCustomBuildTool"
						Name="VCCustomBuildTool"
						Description="Running bison on constexp.y"
						Description="Running bison on constexp.y"
						CommandLine="bison -l -d -p ce_parseexpYY $(InputPath) -o $(IntDir)\ce_parse.c&#x0D;&#x0A;bison -l -p constexpYY $(InputPath) -o $(IntDir)\ce_parse.cpp&#x0D;&#x0A;del $(IntDir)\ce_parse.c&#x0D;&#x0A;"
						CommandLine="bison -l -d -p ce_parseexpYY &quot;$(InputPath)&quot; -o $(IntDir)\ce_parse.c&#x0D;&#x0A;bison -l -p constexpYY &quot;$(InputPath)&quot; -o $(IntDir)\ce_parse.cpp&#x0D;&#x0A;del $(IntDir)\ce_parse.c&#x0D;&#x0A;"
						Outputs="$(IntDir)\ce_parse.cpp"
						Outputs="$(IntDir)\ce_parse.cpp"
					/>
					/>
				</FileConfiguration>
				</FileConfiguration>
@@ -958,7 +958,7 @@
					<Tool
					<Tool
						Name="VCCustomBuildTool"
						Name="VCCustomBuildTool"
						Description="Running bison on constexp.y"
						Description="Running bison on constexp.y"
						CommandLine="bison -l -d -p ce_parseexpYY $(InputPath) -o $(IntDir)\ce_parse.c&#x0D;&#x0A;bison -l -p constexpYY $(InputPath) -o $(IntDir)\ce_parse.cpp&#x0D;&#x0A;del $(IntDir)\ce_parse.c&#x0D;&#x0A;"
						CommandLine="bison -l -d -p ce_parseexpYY &quot;$(InputPath)&quot; -o $(IntDir)\ce_parse.c&#x0D;&#x0A;bison -l -p constexpYY &quot;$(InputPath)&quot; -o $(IntDir)\ce_parse.cpp&#x0D;&#x0A;del $(IntDir)\ce_parse.c&#x0D;&#x0A;"
						Outputs="$(IntDir)\ce_parse.cpp"
						Outputs="$(IntDir)\ce_parse.cpp"
					/>
					/>
				</FileConfiguration>
				</FileConfiguration>
@@ -968,7 +968,7 @@
					<Tool
					<Tool
						Name="VCCustomBuildTool"
						Name="VCCustomBuildTool"
						Description="Running bison on constexp.y"
						Description="Running bison on constexp.y"
						CommandLine="bison -l -d -p ce_parseexpYY $(InputPath) -o $(IntDir)\ce_parse.c&#x0D;&#x0A;bison -l -p constexpYY $(InputPath) -o $(IntDir)\ce_parse.cpp&#x0D;&#x0A;del $(IntDir)\ce_parse.c&#x0D;&#x0A;"
						CommandLine="bison -l -d -p ce_parseexpYY &quot;$(InputPath)&quot; -o $(IntDir)\ce_parse.c&#x0D;&#x0A;bison -l -p constexpYY &quot;$(InputPath)&quot; -o $(IntDir)\ce_parse.cpp&#x0D;&#x0A;del $(IntDir)\ce_parse.c&#x0D;&#x0A;"
						Outputs="$(IntDir)\ce_parse.cpp"
						Outputs="$(IntDir)\ce_parse.cpp"
					/>
					/>
				</FileConfiguration>
				</FileConfiguration>
@@ -978,7 +978,7 @@
					<Tool
					<Tool
						Name="VCCustomBuildTool"
						Name="VCCustomBuildTool"
						Description="Running bison on constexp.y"
						Description="Running bison on constexp.y"
						CommandLine="bison -l -d -p ce_parseexpYY $(InputPath) -o $(IntDir)\ce_parse.c&#x0D;&#x0A;bison -l -p constexpYY $(InputPath) -o $(IntDir)\ce_parse.cpp&#x0D;&#x0A;del $(IntDir)\ce_parse.c&#x0D;&#x0A;"
						CommandLine="bison -l -d -p ce_parseexpYY &quot;$(InputPath)&quot; -o $(IntDir)\ce_parse.c&#x0D;&#x0A;bison -l -p constexpYY &quot;$(InputPath)&quot; -o $(IntDir)\ce_parse.cpp&#x0D;&#x0A;del $(IntDir)\ce_parse.c&#x0D;&#x0A;"
						Outputs="$(IntDir)\ce_parse.cpp"
						Outputs="$(IntDir)\ce_parse.cpp"
					/>
					/>
				</FileConfiguration>
				</FileConfiguration>
+1 −1
Original line number Original line Diff line number Diff line
@@ -7,7 +7,7 @@
		<CustomBuildRule
		<CustomBuildRule
			Name="Gen_head"
			Name="Gen_head"
			DisplayName="Gen_head"
			DisplayName="Gen_head"
			CommandLine="python $(ProjectDir)..\src\to_c_cmd.py [AllOptions] [AdditionalOptions] [inputs] &lt; $(InputPath) &gt; $(IntDir)/$(InputName)$(InputExt).h"
			CommandLine="python &quot;$(ProjectDir)..\src\to_c_cmd.py&quot; [AllOptions] [AdditionalOptions] [inputs] &lt; &quot;$(InputPath)&quot; &gt; $(IntDir)/$(InputName)$(InputExt).h"
			Outputs="$(IntDir)/$(InputName)$(InputExt).h"
			Outputs="$(IntDir)/$(InputName)$(InputExt).h"
			FileExtensions=".*"
			FileExtensions=".*"
			AdditionalDependencies="$(ProjectDir)..\src\to_c_cmd.py"
			AdditionalDependencies="$(ProjectDir)..\src\to_c_cmd.py"
+2 −2
Original line number Original line Diff line number Diff line
@@ -6,8 +6,8 @@
        <Rules>
        <Rules>
                <CustomBuildRule
                <CustomBuildRule
                        Name="Languages"
                        Name="Languages"
                        DisplayName="Settings"
                        DisplayName="Languages"
                        CommandLine="python $(InputPath) [AllOptions] [AdditionalOptions] &gt; $(IntDir)/$(InputName).h"
                        CommandLine="python &quot;$(InputPath)&quot; [AllOptions] [AdditionalOptions] &gt; $(IntDir)/$(InputName).h"
                        Outputs="$(IntDir)/$(InputName).h"
                        Outputs="$(IntDir)/$(InputName).h"
                        FileExtensions="*.py"
                        FileExtensions="*.py"
                        AdditionalDependencies=""
                        AdditionalDependencies=""
Loading