[opus] [PATCH] genversion.bat: don't overwrite version.mk
Ricardo Constantino
wiiaboo at gmail.com
Sat Nov 5 13:26:16 UTC 2016
The automake script doesn't mess with it in any way, and the
projects use win32/version.h and not version.mk.
As it is works now, it's just an annoyance for VS devs that
use git.
---
win32/genversion.bat | 8 --------
1 file changed, 8 deletions(-)
diff --git a/win32/genversion.bat b/win32/genversion.bat
index cd1d4dc..8b31831 100644
--- a/win32/genversion.bat
+++ b/win32/genversion.bat
@@ -24,17 +24,9 @@ set version=!version: =!
:gotversion
set version_out=#define %~2 "%version%"
-set version_mk=%~2 = "%version%"
echo %version_out%> "%~1_temp"
-if %version%==unknown goto :skipgenerate
-
-echo # static version string; update manually every release.> "%~dp0..\version.mk"
-echo %version_mk%>> "%~dp0..\version.mk"
-
-:skipgenerate
-
echo n | comp "%~1_temp" "%~1" > NUL 2> NUL
if not errorlevel 1 goto exit
--
2.10.1
More information about the opus
mailing list