annotate buildwin32release_gcc.bat @ 801:71b89219671c default tip

Fix Debian package rules for Qt5 build.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 13 Apr 2018 02:02:51 +0300
parents 22e2378b62e0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
7b67cee4e01b Mad more dynamic by using system setting of QTDIR.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 1
diff changeset
1 @echo off
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
2
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
3 echo Making some environment settings
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
4 echo --------------------------------
170
698b68a910f9 Updated replacement of zh by tw.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 168
diff changeset
5 rem set QTDIR=%QTDIR%_static
577
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
6 ::set QTDIR=C:\Programmierung\qt.4.4.3_gpl_static
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
7 set QTDIR=F:\Qt\qt.4.4.3_gpl_static
16
7b67cee4e01b Mad more dynamic by using system setting of QTDIR.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 1
diff changeset
8 set PATH=%QTDIR%\bin
280
45f3fd524765 Changed version info
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 263
diff changeset
9 set PATH=%PATH%;D:\Programme\Informat\MingW\bin;D:\Programme\Tools\7-Zip
567
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
10 set PATH=%QTDIR%\bin;C:\Programmierung\MingW\bin;%PATH%;C:\Programme\7-Zip
16
7b67cee4e01b Mad more dynamic by using system setting of QTDIR.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 1
diff changeset
11 set PATH=%PATH%;%SystemRoot%\System32
7b67cee4e01b Mad more dynamic by using system setting of QTDIR.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 1
diff changeset
12 set QMAKESPEC=win32-g++
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
13 echo Done.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
14 echo.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
15
577
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
16 set warningsoccurred=false
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
17
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
18 echo Calling qmake
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
19 echo -------------
577
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
20 qmake
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
21 IF ERRORLEVEL 1 goto ERROR
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
22 echo Done.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
23 echo.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
24
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
25 echo Calling make release
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
26 echo --------------------
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
27 make release >NUL
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
28 IF ERRORLEVEL 1 goto ERROR
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
29 echo Done.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
30 echo.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
31
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
32 echo Delete old release dir and create new one
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
33 echo -----------------------------------------
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
34 rmdir UniversalIndentGUI_win32 /S /Q
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
35 IF ERRORLEVEL 1 goto ERROR
1
e6a2f4c49682 Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
36 md UniversalIndentGUI_win32
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
37 IF ERRORLEVEL 1 goto ERROR
1
e6a2f4c49682 Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
38 cd UniversalIndentGUI_win32
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
39 IF ERRORLEVEL 1 goto ERROR
1
e6a2f4c49682 Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
40 md translations
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
41 IF ERRORLEVEL 1 goto ERROR
366
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
42 md indenters
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
43 IF ERRORLEVEL 1 goto ERROR
43
da71130918af Added "doc" dir with file about ini format.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 37
diff changeset
44 md doc
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
45 IF ERRORLEVEL 1 goto ERROR
567
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
46 cd doc
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
47 md images
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
48 IF ERRORLEVEL 1 goto ERROR
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
49 cd ..
366
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
50 md config
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
51 IF ERRORLEVEL 1 goto ERROR
1
e6a2f4c49682 Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
52 cd ..
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
53 echo Done.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
54 echo.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
55
366
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
56 echo Copying the indenter executables and example file to the release indenters dir
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
57 echo ------------------------------------------------------------------------------
572
bd21046a8a18 [add] Feature Request ID 1867563 : Added support for the indenter XML Indent. On Windows I needed to add the line "#include <getopt.h>" to the file "main.c" to be able to compile it. http://universalindent.sf.net/issue/1867563
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 567
diff changeset
58 FOR %%A IN ( astyle.exe, astyle.html, bcpp.exe, bcpp.txt, csstidy.exe, gc.exe, gc.txt, indent.exe, libiconv-2.dll, libintl-2.dll, indent.html, JsDecoder.js, perltidy, PerlTidyLib.pm, phpStylist.php, phpStylist.txt, rbeautify.rb, ruby_formatter.rb, shellindent.awk, tidy.exe, tidy.html, uncrustify.exe, uncrustify.txt, xmlindent.exe, xmlindent.txt ) DO (
328
ca51d1c57605 Updated build files to use the "indenters" directory instead of the old "data".
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 326
diff changeset
59 if not exist .\indenters\%%A (
577
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
60 echo WARNING!! File .\indenters\%%A not found!
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
61 set warningsoccurred=true
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
62 ) else (
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
63 copy .\indenters\%%A .\UniversalIndentGUI_win32\indenters\ >NUL
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
64 IF ERRORLEVEL 1 goto ERROR
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
65 )
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
66 )
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
67 echo Done.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
68 echo.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
69
567
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
70 echo Copying the indenter example files to the release indenters dir
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
71 echo ---------------------------------------------------------------
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
72 copy .\indenters\example.* .\UniversalIndentGUI_win32\indenters\ >NUL
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
73 IF ERRORLEVEL 1 goto ERROR
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
74 echo Done.
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
75 echo.
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
76
366
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
77 echo Copying the indenter uigui ini files to the release indenters dir
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
78 echo -----------------------------------------------------------------
419
b0f320a0bb6c Updated version number and date. Also updated Windows build script.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 366
diff changeset
79 copy .\indenters\uigui_*.ini .\UniversalIndentGUI_win32\indenters\ >NUL
b0f320a0bb6c Updated version number and date. Also updated Windows build script.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 366
diff changeset
80 IF ERRORLEVEL 1 goto ERROR
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
81 echo Done.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
82 echo.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
83
366
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
84 echo Copying the default highlighter ini files to the release config dir
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
85 echo -------------------------------------------------------------------
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
86 FOR %%A IN ( UiGuiSyntaxHighlightConfig.ini ) DO (
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
87 if not exist .\config\%%A (
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
88 echo File .\config\%%A not found!
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
89 goto ERROR
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
90 )
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
91 copy .\config\%%A .\UniversalIndentGUI_win32\config\ >NUL
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
92 IF ERRORLEVEL 1 goto ERROR
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
93 )
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
94 echo Done.
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
95 echo.
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
96
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
97 echo Copying some other files (README, CHANGELOG etc)
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
98 echo ------------------------------------------------
567
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
99 FOR %%A IN ( CHANGELOG.txt, LICENSE.GPL, INSTALL.txt, readme.html ) DO (
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
100 if not exist .\%%A (
366
034f3ebe824e Updated the windows build scripts to make use of the new indenters and some more smaller adaptions.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 350
diff changeset
101 echo File .\%%A not found!
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
102 goto ERROR
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
103 )
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
104 copy .\%%A .\UniversalIndentGUI_win32\ >NUL
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
105 IF ERRORLEVEL 1 goto ERROR
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
106 )
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
107 echo Done.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
108 echo.
209
25f91817b578 [fix] Bug ID 1735586 : Some strings in dialogs were not translated. Reason for this was the not loaded Qt own translation file for dialogs etc. http://universalindent.sf.net/issue/1735586
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 170
diff changeset
109
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
110 echo Copying the translation files to the release translation dir
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
111 echo ------------------------------------------------------------
419
b0f320a0bb6c Updated version number and date. Also updated Windows build script.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 366
diff changeset
112 copy .\translations\*.qm .\UniversalIndentGUI_win32\translations\ >NUL
b0f320a0bb6c Updated version number and date. Also updated Windows build script.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 366
diff changeset
113 IF ERRORLEVEL 1 goto ERROR
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
114 echo Done.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
115 echo.
209
25f91817b578 [fix] Bug ID 1735586 : Some strings in dialogs were not translated. Reason for this was the not loaded Qt own translation file for dialogs etc. http://universalindent.sf.net/issue/1735586
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 170
diff changeset
116
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
117 echo Copying doc and UniversalIndentGUI.exe to release dir
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
118 echo -----------------------------------------------------
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
119 copy .\doc\iniFileFormat.html .\UniversalIndentGUI_win32\doc\ >NUL
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
120 IF ERRORLEVEL 1 goto ERROR
567
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
121 copy .\doc\images\* .\UniversalIndentGUI_win32\doc\images\ >NUL
88f8bfa36730 Updated the win32 create release batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 512
diff changeset
122 IF ERRORLEVEL 1 goto ERROR
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
123 copy .\release\UniversalIndentGUI.exe .\UniversalIndentGUI_win32\ >NUL
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
124 IF ERRORLEVEL 1 goto ERROR
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
125 echo Done.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
126 echo.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
127
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
128 echo Packing the whole release dir content
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
129 echo -------------------------------------
1
e6a2f4c49682 Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
130 cd UniversalIndentGUI_win32
629
22e2378b62e0 Updated files for the next release 1.0.2.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 577
diff changeset
131 7z.exe a -tzip UniversalIndentGUI_1.0.2_win32.zip >NUL
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
132 IF ERRORLEVEL 1 goto ERROR
1
e6a2f4c49682 Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
133 cd ..
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
134 echo Done.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
135 echo.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
136
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
137
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
138 :SUCCESS
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
139 echo Everything completed successfull!
577
4aed81d111df Made some changes concerning the language detection on the very first start. Also updated the build scripts.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 572
diff changeset
140 IF "%warningsoccurred%" == "true" echo "===> But there were some warnings. Please have a look."
212
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
141 goto END
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
142
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
143 :ERROR
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
144 echo.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
145 echo Something during the above step went wrong! See output error message, if any.
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
146 goto END
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
147
46b2972ef6bc Heavily restructured and more automated with error check the complete build batch file.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 209
diff changeset
148 :END
1
e6a2f4c49682 Restucturing of repository
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
149 pause