summaryrefslogtreecommitdiff
path: root/git-version-gen
AgeCommit message (Collapse)AuthorFilesLines
2015-10-20git-version-gen: Avoid further processing when tarball-version is presentRoss Burton1-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
2015-01-14update FSF addresses to FSF web pageOndrej Holecek1-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.
2013-09-28build-sys: Support building pulseaudio as a submoduleAnton Lundin1-1/+1
When pulseaudio is a submodule, .git is a file. Signed-off-by: Anton Lundin <glance@acc.umu.se>
2012-09-27git-version-gen: Honor GIT_DESCRIBE_FOR_BUILD environment variableColin Walters1-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.
2010-12-05build-sys: Include the .version file in the distribution tarballColin Guthrie1-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.
2010-12-04build-sys: Add some smarts to version extraction from git tags.Colin Guthrie1-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.
2009-06-23build-sys: teacch git versioning script to not kill - in version stringsLennart Poettering1-1/+2
2009-06-23build-sys: drop compat with old git versions so that tarballs for -test1 ↵Lennart Poettering1-12/+12
style evrsions are properly created
2009-04-23build: generate git tarball using git describeMarc-André Lureau1-0/+152