Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure correct version in dist tarball
That adds an additional dist hook that verifies that the PACKAGE_VERSION that configure records is the same as the _current_ version reported by `git describe`. PACKAGE_VERSION is only updated when _autoconf_ is run, so if you've made several commits, the version number will be out of date. You have to explicitly re-run autogen.sh to regenerate the correct package version. h/t https://stackoverflow.com/a/46222039
- Loading branch information
Showing
2 changed files
with
41 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
# ------------------------------------------------------------------------------ | ||
# Copyright © 2020, libcork authors. | ||
# Please see the COPYING file in this distribution for license details. | ||
# ------------------------------------------------------------------------------ | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")" | ||
|
||
AUTORECONF=${AUTORECONF:-autoreconf} | ||
ACLOCAL=${ACLOCAL:-aclocal} | ||
AUTOCONF=${AUTOCONF:-autoconf} | ||
AUTOHEADER=${AUTOHEADER:-autoheader} | ||
AUTOMAKE=${AUTOMAKE:-automake} | ||
|
||
"${AUTORECONF}" --verbose --install --force -I m4 |