summaryrefslogtreecommitdiff
path: root/git-version-gen
Commit message (Collapse)AuthorAgeFilesLines
* git-version-gen: Avoid further processing when tarball-version is presentRoss Burton2015-10-201-1/+4
| | | | | | | | | In case a tarball-version file is present, use that and quit. Otherwise git will continue looking for directories, potentially finding .git directories which are dirty and mark the version as such. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=90936
* update FSF addresses to FSF web pageOndrej Holecek2015-01-141-3/+1
| | | | | | | | | FSF addresses used in PA sources are no longer valid and rpmlint generates numerous warnings during packaging because of this. This patch changes all FSF addresses to FSF web page according to the GPL how-to: https://www.gnu.org/licenses/gpl-howto.en.html Done automatically by sed-ing through sources.
* build-sys: Support building pulseaudio as a submoduleAnton Lundin2013-09-281-1/+1
| | | | | | When pulseaudio is a submodule, .git is a file. Signed-off-by: Anton Lundin <glance@acc.umu.se>
* git-version-gen: Honor GIT_DESCRIBE_FOR_BUILD environment variableColin Walters2012-09-271-2/+12
| | | | | | | | | | | The GNOME-OSTree build system currently creates chroots and bind mounts to the source tree outside the root; this means that we can't necessarily run git inside the root, because in the case of git submodules, the .git repository will point to outside root. Also, error out fatally if we fail to determine the version; it makes no sense to put UNKNOWN in e.g. the pkg-config files since this will just cause errors later on.
* build-sys: Include the .version file in the distribution tarballColin Guthrie2010-12-051-0/+1
| | | | | | | | | | | As per the comments in git-version-gen, the .version file that is typically generated automatically during build should be included in the tarball, so generate it in the dist-hook. This fixes a problem when running make distcheck which uses a read-only source folder and thus cannot generate the $top_srcdir/.version as part of it's build process (it uses a _build folder which is r/w) and thus cannot be built.
* build-sys: Add some smarts to version extraction from git tags.Colin Guthrie2010-12-041-7/+15
| | | | | | | | | | | | | | When we are dealing with a tag against a commit with other tags applied, then favour the first tag, not the last one. This allows us to tag a release as e.g. v1.0, v1.1-dev and v2.0-dev and get a version of 1.0 rather than the newer tags. This also removes support for git versions that do not accept the --match argument as we also now make use of the --contains arg which was added at the same time (I think) Additionally, the v variable is reset just incase it is already exported in the shell for some reason.
* build-sys: teacch git versioning script to not kill - in version stringsLennart Poettering2009-06-231-1/+2
|
* build-sys: drop compat with old git versions so that tarballs for -test1 ↵Lennart Poettering2009-06-231-12/+12
| | | | style evrsions are properly created
* build: generate git tarball using git describeMarc-André Lureau2009-04-231-0/+152