CREATE_PROJECT: Only copy necessary data files in postbuild script

This commit is contained in:
Littleboy 2011-05-11 18:13:22 -04:00
parent 3cb7d4b1cc
commit 7cc965d24b
2 changed files with 17 additions and 16 deletions

View File

@ -73,7 +73,7 @@ Sub CreateInstaller()
Dim commandLine : commandLine = """" & nsisPath & "\makensis.exe"" /V2" & _
" /Dtop_srcdir=""" & rootFolder & """" & _
" /Dbuild_dir=""" & targetFolder & """" & _
" /Dtext_dir=""" & targetFolder & """" & _
" /Dtext_dir=""" & rootFolder & """" & _
" /DARCH=""" & arch & """" & _
" """ & rootFolder & "\dists\nsis\scummvm.nsi"""

View File

@ -23,23 +23,24 @@ if "%~5"=="" goto error_installer
echo Copying data files
echo.
xcopy /F /Y "%~1/AUTHORS" %~2 > NUL 2>&1
xcopy /F /Y "%~1/COPYING.GPL" %~2 > NUL 2>&1
xcopy /F /Y "%~1/COPYING" %~2 > NUL 2>&1
xcopy /F /Y "%~1/COPYING.LGPL" %~2 > NUL 2>&1
xcopy /F /Y "%~1/COPYRIGHT" %~2 > NUL 2>&1
xcopy /F /Y "%~1/NEWS" %~2 > NUL 2>&1
xcopy /F /Y "%~1/README" %~2 > NUL 2>&1
REM xcopy /F /Y "%~1/AUTHORS" %~2 1>NUL 2>&1
REM xcopy /F /Y "%~1/COPYING.GPL" %~2 1>NUL 2>&1
REM xcopy /F /Y "%~1/COPYING" %~2 1>NUL 2>&1
REM xcopy /F /Y "%~1/COPYING.LGPL" %~2 1>NUL 2>&1
REM xcopy /F /Y "%~1/COPYRIGHT" %~2 1>NUL 2>&1
REM xcopy /F /Y "%~1/NEWS" %~2 1>NUL 2>&1
REM xcopy /F /Y "%~1/README" %~2 1>NUL 2>&1
xcopy /F /Y "%~1/dists/engine-data/*.dat" %~2 > NUL 2>&1
xcopy /F /Y "%~1/dists/engine-data/*.tbl" %~2 > NUL 2>&1
xcopy /F /Y "%~1/dists/engine-data/*.cpt" %~2 > NUL 2>&1
xcopy /F /Y "%~1/gui/themes/*.zip" %~2 > NUL 2>&1
xcopy /F /Y "%~1/gui/themes/translations.dat" %~2 > NUL 2>&1
xcopy /F /Y "%~4/lib/%~3/SDL.dll" %~2 > NUL 2>&1
xcopy /F /Y "%~4/README-SDL" %~2 > NUL 2>&1
REM xcopy /F /Y "%~1/dists/engine-data/*.dat" %~2 1>NUL 2>&1
REM xcopy /F /Y "%~1/dists/engine-data/*.tbl" %~2 1>NUL 2>&1
REM xcopy /F /Y "%~1/dists/engine-data/*.cpt" %~2 1>NUL 2>&1
REM xcopy /F /Y "%~1/gui/themes/*.zip" %~2 1>NUL 2>&1
REM xcopy /F /Y "%~1/gui/themes/translations.dat" %~2 1>NUL 2>&1
xcopy /F /Y "%~1/backends/vkeybd/packs/vkeybd_default.zip" %~2 > NUL 2>&1
xcopy /F /Y "%~4/lib/%~3/SDL.dll" %~2 1>NUL 2>&1
xcopy /F /Y "%~4/README-SDL" %~2 1>NUL 2>&1
xcopy /F /Y "%~1/backends/vkeybd/packs/vkeybd_default.zip" %~2 1>NUL 2>&1
if "%~5"=="0" goto done