summaryrefslogtreecommitdiff
path: root/winbuild/version.bat
diff options
context:
space:
mode:
Diffstat (limited to 'winbuild/version.bat')
-rw-r--r--winbuild/version.bat24
1 files changed, 0 insertions, 24 deletions
diff --git a/winbuild/version.bat b/winbuild/version.bat
deleted file mode 100644
index ce3ded6..0000000
--- a/winbuild/version.bat
+++ /dev/null
@@ -1,24 +0,0 @@
-@for /F "tokens=1* delims== " %%i in (..\configure) do @call :oneline "%%i" "%%j"
-@if "%mnt%"=="NO" goto :writereleaseversion
-@goto :writecvsversion
-
-:oneline
-@if "-%~1"=="-doxygen_version_major" call :aset major %2
-@if "-%~1"=="-doxygen_version_minor" call :aset minor %2
-@if "-%~1"=="-doxygen_version_revision" call :aset revision %2
-@if "-%~1"=="-doxygen_version_mmn" call :aset mnt %2
-@goto :EOF
-
-:aset
-@set %1=%~2
-@goto :EOF
-
-:writecvsversion
-echo %major%.%minor%.%revision%-%mnt%>..\VERSION
-echo char versionString[]="%major%.%minor%.%revision%-%mnt%";>..\src\version.cpp
-@goto :EOF
-
-:writereleaseversion
-echo %major%.%minor%.%revision%>..\VERSION
-echo char versionString[]="%major%.%minor%.%revision%";>..\src\version.cpp
-@goto :EOF