diff options
author | dequis <dx@dxzone.com.ar> | 2015-01-24 19:48:09 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-01-25 02:00:06 -0300 |
commit | e26aa728e6840678ea018ab979867730f4c7fb68 (patch) | |
tree | 33c382ab59339dcbb341ae43670f3421df4f5ddc /configure | |
parent | eb4ad8d31f7ed4210f24beb8753ecce594b0beef (diff) |
Add git specific stuff!
- A few build system tweaks
- A fancy README.md
- s/.bzrignore/.gitignore/
- .travis.yml for travis-ci integration
- doc/git-bzr-rev-map for historical purposes
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -666,6 +666,12 @@ if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; th BITLBEE_VERSION=$REAL_BITLBEE_VERSION-bzr$nick-$rev fi +if [ -z "$BITLBEE_VERSION" -a -d .git ] && type git > /dev/null 2> /dev/null; then + rev=`git describe --long --tags`-`git rev-parse --abbrev-ref HEAD` + echo 'Using '$rev' as git version number' + BITLBEE_VERSION=$rev-git +fi + if [ -n "$BITLBEE_VERSION" ]; then echo 'Spoofing version number: '$BITLBEE_VERSION echo '#undef BITLBEE_VERSION' >> config.h |