summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-01-29 07:24:51 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2015-01-29 07:24:51 (GMT)
commit4a6baf5a2b3cf7db0f3f41d0d61f8fc2334201cc (patch)
tree7b28d97d061b48e8cd28446c20a1a30a56207ccc
parent0e16b63aafea8475a35447f94e2d79b1601f02c5 (diff)
set .gitingore and updated Repo in Readme and configure
-rw-r--r--.gitignore11
-rw-r--r--README6
-rwxr-xr-xsrc/configure8
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
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