diff options
-rw-r--r-- | .gitignore | 11 | ||||
-rw-r--r-- | README | 6 | ||||
-rwxr-xr-x | src/configure | 8 |
3 files changed, 18 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4bd5fea --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +src/*.d.* +src/*.d +src/*.o +src/rharchive +src/include.mk +src/config.h +src/*.ogg +src/*.ogg.* +src/*.flac +src/*.flac.* +doc/rharchive.8.xml @@ -27,10 +27,10 @@ if you want to rebuild the manpage: Installation ============ -Getting the source via subversion: ----------------------------------- +Getting the source via GIT: +--------------------------- -svn co https://svn.helsinki.at/rharchive/trunk rharchive +git clone git://git.helsinki.at/rharchive.git cd rharchive diff --git a/src/configure b/src/configure index e953737..29556e6 100755 --- a/src/configure +++ b/src/configure @@ -154,10 +154,10 @@ else fi VERSION=`cat ../version` -if which svn >/dev/null; then - SVN_REV=`svn info 2> /dev/null | grep "^Revision: " | awk '{print($2)}'` - if [ -n "$SVN_REV" ]; then - VERSION="$VERSION (svn$SVN_REV)" +if which git >/dev/null; then + GIT_HASH=`git rev-parse HEAD 2> /dev/null` + if [ -n "$GIT_HASH" ]; then + VERSION="$VERSION (git $GIT_HASH)" fi fi |