aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish.cpp
diff options
context:
space:
mode:
authorGravatar David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au>2013-06-24 18:12:09 +0800
committerGravatar David Adam (zanchey) <zanchey@ucc.gu.uwa.edu.au>2013-08-11 23:13:38 +0800
commit2a06c72113fb4a7032621387751d5c9c945936ae (patch)
tree5c2f0816e14500f43035726d98bb3a039d10bf6d /fish.cpp
parent05563ab11ee30fbf698c0bbfcb9f98e2533a0a1d (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.cpp')
-rw-r--r--fish.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish.cpp b/fish.cpp
index 8001f376..fda24360 100644
--- a/fish.cpp
+++ b/fish.cpp
@@ -350,7 +350,7 @@ static int fish_parse_opt(int argc, char **argv, std::vector<std::string> *out_c
fwprintf(stderr,
_(L"%s, version %s\n"),
PACKAGE_NAME,
- PACKAGE_VERSION);
+ FISH_BUILD_VERSION);
exit_without_destructors(0);
}