diff options
author | 2013-06-24 18:12:09 +0800 | |
---|---|---|
committer | 2013-08-11 23:13:38 +0800 | |
commit | 2a06c72113fb4a7032621387751d5c9c945936ae (patch) | |
tree | 5c2f0816e14500f43035726d98bb3a039d10bf6d /fish_pager.cpp | |
parent | 05563ab11ee30fbf698c0bbfcb9f98e2533a0a1d (diff) |
Generate version numbers dynamically
This commit hooks the Makefile up to generate a FISH_BUILD_VERSION
symbol and kills off PACKAGE_VERSION in .cpp files.
It also modifies the tarball generation script to add the necessary
version file for releases.
Diffstat (limited to 'fish_pager.cpp')
-rw-r--r-- | fish_pager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_pager.cpp b/fish_pager.cpp index 2e1a4bba..848eb0fc 100644 --- a/fish_pager.cpp +++ b/fish_pager.cpp @@ -1289,7 +1289,7 @@ int main(int argc, char **argv) case 'v': { - debug(0, L"%ls, version %s\n", program_name, PACKAGE_VERSION); + debug(0, L"%ls, version %s\n", program_name, FISH_BUILD_VERSION); exit(0); } |