From 4a6baf5a2b3cf7db0f3f41d0d61f8fc2334201cc Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 29 Jan 2015 08:24:51 +0100 Subject: set .gitingore and updated Repo in Readme and configure 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 diff --git a/README b/README index 25faa5a..c9db173 100644 --- a/README +++ b/README @@ -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 -- cgit v0.10.2