- Dec 05, 2013
-
-
Ron authored
This reverts commit 8638d78c. Since it doesn't actually fix the original problem with shallow clones, it returns just a hash, not something we (currently) can extract as a version string in the form things are expecting. Which means the .pc version checks for things using the library at least will still fail.
-
- Oct 01, 2013
-
-
Ralph Giles authored
This provides a fallback commit id if no tags are available, for example when doing a shallow clone.
-
- May 13, 2013
-
-
Ron authored
This one meets or exceeds the following requirements: - Version is checked/updated for every build action when in the git repo. Does not require the user to re- ./configure to get the correct version. - Version is not updated automatically when using exported tarball source. Avoids accidentally getting a wrong version from some other git repo in a parent directory of the source, and allows setting the correct version for distro package exports. - Automatic updating can be manually suppressed. For developers doing lots of change/rebuild cycles they don't plan to release, when they don't want a full rebuild triggered for every commit, and again for every change made immediately after a commit. The version will still always be updated if they do a `make dist`. - Does not require any manual updating of versions in the mainline git repo for each release aside from normal tagging. The version is recorded in one file only, that is automatically generated and will never need to be committed. - Does not require gnu-make features for the autoconf builds. It does not currently: - Keep a checksum of every source file in tarball releases to mangle the version if people modify the tarball source. Responsible people can manually update the version easily though in such cases.
-