Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | git_version.sh: Don't unnecessarily write to builddir during make install. | Mark Wielaard | 2010-03-03 | 1 | -6/+9 |
| | | | | | | | | | | Ideally make install wouldn't touch the src or build dirs. When the build dir is mounted so root cannot write to it a make install would fail because git_version.sh tried to create a temporary file. Fix by creating temporary git_version.h.new file in temp dir. * git_version.sh: Create temp dir and git_version.h.new outside src and build dir. Change all occurances of $outfile.new to $outfilenew. | ||||
* | git_version: fall back to git-describe w/o --long, and even git-rev-parse ↵ | Frank Ch. Eigler | 2009-04-24 | 1 | -1/+1 |
| | | | | HEAD for old gits | ||||
* | git_version: use --long mode to always add the git hash too | Frank Ch. Eigler | 2009-04-23 | 1 | -1/+1 |
| | |||||
* | git_version: emit `git-describe` rather than just sha code, for use in stap -V | Frank Ch. Eigler | 2009-04-23 | 1 | -2/+2 |
| | |||||
* | tweak git_version.h generation | Frank Ch. Eigler | 2009-01-30 | 1 | -1/+0 |
| | |||||
* | Add hack to support git 1.6 in git_version.sh | Theodore Ts'o | 2008-07-09 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | This is needed now for people who are running the "master" branch of git, which is currently in development for git version 1.6.0. This is a kludge to support hyphenated git commands (i.e., git-diff-files), but this form is explicitly deprecated, and doesn't work in git 1.6 unless you put git's execdir (obtained via git --exec-path) in your PATH environment variable. Even then, these programs may no longer exist future versions of git. It would be better to change the script to use "git diff-files", et. al., but I assume upstream had some vaguely justifiable reason for not writing the script that way. I'll let them decide when they are willing to fix the script the right way, even if it means breaking compatibility for some ancient version of git. n.b., git 1.5.0 was released February 2007, and git 1.4.0 was released June, 2006. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> | ||||
* | Sync latest fix for git_version.sh from RadeonHD's tree | Theodore Ts'o | 2008-07-09 | 1 | -1/+1 |
| | | | | | | | This incorporates commit de4fbeeb: "Fix check for wrong macro in in git-version.sh", from the xf86-video-radeonhd tree. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> | ||||
* | PR6393: git version tagging at build time | Frank Ch. Eigler | 2008-04-10 | 1 | -0/+348 |
2008-04-10 Frank Ch. Eigler <fche@elastic.org> PR 6393. * git_version.sh: New file, copied from radeonhd. * configure.ac: No longer generate $builddir/SNAPSHOT. * Makefile.am: Generate $builddir/git_version.h. (EXTRA_DIST): Add git_version.h and git_version.sh. * main.cxx (version): Print generated GIT_MESSAGE therefrom. * Makefile.in, configure: Regenerated. |