Skip to content

Commit ba52ac2

Browse files
authored
changes in nsis (#363)
1 parent 8d321bc commit ba52ac2

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

appveyor.bat

+3-11
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ nmake.exe -f Make_mvc.mak ^
261261
|| exit 1
262262
:: Build translations
263263
pushd po
264-
@rem nmake.exe -f Make_mvc.mak GETTEXT_PATH=%CYGWIN_DIR%\bin VIMRUNTIME=..\..\runtime install-all || exit 1
265264
nmake.exe -f Make_mvc.mak "GETTEXT_PATH=%DEPENDENCIES%\gettext%BIT%" "VIMRUNTIME=..\..\runtime" install-all || exit 1
266265
popd
267266

@@ -347,10 +346,6 @@ xcopy ..\runtime ..\vim\%dir% /Y /E /V /I /H /R /Q /EXCLUDE:..\..\exclist.txt
347346
7z.exe a -mx=9 ..\..\gvim_%VER_NUM%_%ARCH%.zip ..\vim
348347

349348
:: Create installer
350-
@rem %CYGWIN_DIR%\bin\bash -lc "cd $(cygpath '%APPVEYOR_BUILD_FOLDER%')/vim/runtime/doc && touch ../../src/auto/config.mk && make uganda.nsis.txt"
351-
pushd ..\runtime\doc
352-
nmake.exe -f Make_mvc.mak uganda.nsis.txt || exit 1
353-
popd
354349

355350
copy gvim.exe gvim_ole.exe
356351
copy vim.exe vimw32.exe
@@ -360,17 +355,14 @@ copy install.exe installw32.exe
360355
copy uninstall.exe uninstallw32.exe
361356
pushd ..\nsis
362357

363-
:: Disable UPX
364-
@rem Disabled by default. To enable /DHAVE_UPX=1 on makensis.exe
365-
@rem sed -i '/^\(!define HAVE_UPX\)/d' gvim.nsi
366-
367-
7z.exe x -y icons.zip > nul
368358
if /I "%ARCH%"=="x64" (
369359
set WIN64=1
370360
) else (
371361
set WIN64=0
372362
)
373-
"%ProgramFiles(x86)%\NSIS\makensis.exe" /INPUTCHARSET UTF8 /DVIMRT=..\runtime /DGETTEXT=%DEPENDENCIES% /DWIN64=%WIN64% /DINCLUDE_LIBGCC=%INCLUDE_LIBGCC% /DPATCHLEVEL=%PATCHLEVEL% gvim.nsi "/XOutFile ..\..\gvim_%VER_NUM%_%ARCH%.exe"
363+
nmake.exe -lf Make_mvc.mak "X=OutFile ..\..\gvim_%VER_NUM%_%ARCH%.exe" ^
364+
"WIN64=%WIN64%" "VIMRT=..\runtime" "INCLUDE_LIBGCC=%INCLUDE_LIBGCC%" ^
365+
"GETTEXT=%DEPENDENCIES%" "SRC=%TEMP%"
374366
popd
375367

376368
:: Create zipfile for signing with signpath.io

0 commit comments

Comments
 (0)