OSDN Git Service

Deployment script: Also include image files for the manual.
authorLoRd_MuldeR <mulder2@gmx.de>
Thu, 25 Dec 2014 00:15:43 +0000 (01:15 +0100)
committerLoRd_MuldeR <mulder2@gmx.de>
Thu, 25 Dec 2014 00:15:43 +0000 (01:15 +0100)
etc/Deployment/_deploy.bat

index 9a0df36..8e719a9 100644 (file)
@@ -97,7 +97,7 @@ for %%i in (exe,sfx,zip,txt) do (
 "%~dp0\..\Utilities\CEcho.exe" cyan "Copying binary files..."
 "%~dp0\..\Utilities\CEcho.exe" cyan "===========================================================================\n"
 
-rd /S /Q "%TMP_PATH%"
+rd /S /Q "%TMP_PATH%" 2> NUL
 mkdir "%TMP_PATH%"
 
 for %%i in (exe,dll) do (
@@ -126,17 +126,16 @@ for %%e in (exe,dll) do (
        )
 )
 
-if exist "%~dp0\_postproc.bat" (
-       call "%~dp0\_postproc.bat" "%TMP_PATH%"
-)
+copy "%~dp0\..\..\ReadMe.txt"           "%TMP_PATH%"
+copy "%~dp0\..\..\License.txt"          "%TMP_PATH%"
+copy "%~dp0\..\..\Copying.txt"          "%TMP_PATH%"
+copy "%~dp0\..\..\doc\Changelog.html"   "%TMP_PATH%"
+copy "%~dp0\..\..\doc\Translate.html"   "%TMP_PATH%"
+copy "%~dp0\..\..\doc\Manual.html"      "%TMP_PATH%"
+copy "%~dp0\..\..\doc\FAQ.html"         "%TMP_PATH%"
 
-copy "%~dp0\..\..\ReadMe.txt"         "%TMP_PATH%"
-copy "%~dp0\..\..\License.txt"        "%TMP_PATH%"
-copy "%~dp0\..\..\Copying.txt"        "%TMP_PATH%"
-copy "%~dp0\..\..\doc\Changelog.html" "%TMP_PATH%"
-copy "%~dp0\..\..\doc\Translate.html" "%TMP_PATH%"
-copy "%~dp0\..\..\doc\Manual.html"    "%TMP_PATH%"
-copy "%~dp0\..\..\doc\FAQ.html"       "%TMP_PATH%"
+mkdir "%TMP_PATH%\img\lamexp"
+copy "%~dp0\..\..\doc\img\lamexp\*.png" "%TMP_PATH%\img\lamexp"
 
 if not "%VER_LAMEXP_TYPE%" == "Final" (
        if not "%VER_LAMEXP_TYPE%" == "Hotfix" (
@@ -144,6 +143,10 @@ if not "%VER_LAMEXP_TYPE%" == "Final" (
        )
 )
 
+if exist "%~dp0\_postproc.bat" (
+       call "%~dp0\_postproc.bat" "%TMP_PATH%"
+)
+
 attrib +R "%TMP_PATH%\*.txt"
 attrib +R "%TMP_PATH%\*.html"
 attrib +R "%TMP_PATH%\*.exe"