Currently version numbers are hardcoded in "nsis/gvim.nsi", those
numbers should be identical to that in the topmost Makefile.  The
attached patch will export those numbers automatically when build
dossrc, so it's no longer necessary to update them for NSIS
separately.

The idea is simple: generating a small file (nsis/gvim_version.nsh)
containing those version numbers as part of the dossrc target, and
change "nsis/gvim.nsi" to include that file.

The downside is files under "nsis/" in the repository will no longer
be self-contained.  If you need to use them DIRECTLY from repository
(instead of extracting them from dossrc.zip), you need to run:
    make nsis/gvim_version.nsh
to generate the version information.

Regards!
-- 
Guopeng

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Attachment: nsis-ver.patch
Description: Binary data

Raspunde prin e-mail lui