From: Matthew Fernandez Date: Sun, 21 Feb 2021 05:18:38 +0000 (-0800) Subject: remove use of sed in Visual Studio files X-Git-Tag: 2.47.0~36^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b906a1a224d729a41bdfeea529f122562b452e0;p=graphviz remove use of sed in Visual Studio files It should now be possible to build Graphviz using Visual Studio on Windows without sed installed. --- diff --git a/lib/version/version.vcxproj b/lib/version/version.vcxproj index 478a3d199..9c2a7d36e 100644 --- a/lib/version/version.vcxproj +++ b/lib/version/version.vcxproj @@ -94,8 +94,8 @@ true - python3 $(SolutionDir)gen_version.py --committer-date-graphviz | sed "s/\(.*\)/#define BUILDDATE \"\1\"/" > $(SolutionDir)windows\include\builddate.h -python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" > $(SolutionDir)windows\include\version.h + python3 $(SolutionDir)gen_version.py --committer-date-graphviz --definition > $(SolutionDir)windows\include\builddate.h +python3 $(SolutionDir)gen_version.py --definition > $(SolutionDir)windows\include\version.h @@ -115,8 +115,8 @@ python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" &g true - python3 $(SolutionDir)gen_version.py --committer-date-graphviz | sed "s/\(.*\)/#define BUILDDATE \"\1\"/" > $(SolutionDir)windows\include\builddate.h -python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" > $(SolutionDir)windows\include\version.h + python3 $(SolutionDir)gen_version.py --committer-date-graphviz --definition > $(SolutionDir)windows\include\builddate.h +python3 $(SolutionDir)gen_version.py --definition > $(SolutionDir)windows\include\version.h @@ -132,8 +132,8 @@ python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" &g true - python3 $(SolutionDir)gen_version.py --committer-date-graphviz | sed "s/\(.*\)/#define BUILDDATE \"\1\"/" > $(SolutionDir)windows\include\builddate.h -python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" > $(SolutionDir)windows\include\version.h + python3 $(SolutionDir)gen_version.py --committer-date-graphviz --definition > $(SolutionDir)windows\include\builddate.h +python3 $(SolutionDir)gen_version.py --definition > $(SolutionDir)windows\include\version.h @@ -153,8 +153,8 @@ python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" &g true - python3 $(SolutionDir)gen_version.py --committer-date-graphviz | sed "s/\(.*\)/#define BUILDDATE \"\1\"/" > $(SolutionDir)windows\include\builddate.h -python3 $(SolutionDir)gen_version.py | sed "s/\(.*\)/#define VERSION \"\1\"/" > $(SolutionDir)windows\include\version.h + python3 $(SolutionDir)gen_version.py --committer-date-graphviz --definition > $(SolutionDir)windows\include\builddate.h +python3 $(SolutionDir)gen_version.py --definition > $(SolutionDir)windows\include\version.h