diff options
author | Gary V. Vaughan <gary@gnu.org> | 2011-10-20 22:17:23 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2011-10-27 10:22:44 +0700 |
commit | 4008119bcc321096bde69d3e81a4d6af76e5c7b9 (patch) | |
tree | 3f506f4a9ef7c3057110e71208b41cb8f6a2f644 /.gitignore | |
parent | a7d34118b2e87f724b4801db8cf0ed5e9b13fc79 (diff) | |
download | libtool-4008119bcc321096bde69d3e81a4d6af76e5c7b9.tar.gz |
maint: use gnulib's git-version-gen instead of mkstamp.
* libltdl/config/mkstamp: File removed.
* bootstrap.conf (gnulib_modules): Add git-version-gen.
* configure.ac (AC_INIT, package_revision): Use git-version-gen to
calculate version number.
(TIMESTAMP): Removed.
* libtoolize.m4sh, libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4
(TIMESTAMP): Ditto.
* Makefile.am (TIMESTAMP): Ditto.
(MKSTAMP): Renamed from this...
(git_version_gen): ...to this. Set revision here. An alpha is now a
release with an odd micro relase number.
(rebuild): Don't reset revision here.
(build_scripts): Remove mkstamp, add git-version-gen.
(EXTRA_DIST, BUILT_SOURCES): Add .version.
(libltdl/config/ltmain.sh, libltdl/m4/ltversion.m4, tests/package.m4):
Don't depend on configure.ac or ChangeLog to determine when the
version number has reved, use .version directly.
(.version): Flush most recent configure calculated VERSION to disk.
(dist-hook): Flush current VERSION to disk at dist time.
(dotserial): Distributed file to cache the serial number for
when git is not available to recalculate it when building from a
release tarball.
(dist-hook): Make sure .serial is created.
(libltdl/config/ltversion.m4): Use .serial when it is present
(in a dist tarball) or calculate with git otherwise (in a git
working directory).
(EXTRA_DIST): Add .serial file.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -33,6 +33,7 @@ .libs /.pc /.sc-start* +/.version /COPYING /GNUmakefile /INSTALL |