mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
configure.ac: generate the fish version number dynamically
Note that this will NOT get updated on every run - even if autoconf is run manually, the value may be cached. The PACKAGE_VERSION variable/symbol will not be reliable. Use FISH_BUILD_VERSION instead.
This commit is contained in:
parent
2a06c72113
commit
8cdcfc2a91
1 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,11 @@
|
|||
# configure the build process.
|
||||
#
|
||||
|
||||
AC_INIT(fish,2.0.0,fish-users@lists.sf.net)
|
||||
m4_syscmd([build_tools/git_version_gen.sh 2>/dev/null])
|
||||
|
||||
AC_INIT(fish,
|
||||
m4_esyscmd_s([cut -f 3 -d ' ' FISH-BUILD-VERSION-FILE]),
|
||||
fish-users@lists.sf.net)
|
||||
|
||||
conf_arg=$@
|
||||
|
||||
|
|
Loading…
Reference in a new issue