Generate revision from git describe
authorAndreas Zwinkau <zwinkau@kit.edu>
Mon, 6 Jun 2011 13:28:13 +0000 (15:28 +0200)
committerAndreas Zwinkau <zwinkau@kit.edu>
Wed, 24 Aug 2011 11:48:01 +0000 (13:48 +0200)
Makefile

index 25690dc..c4c61cc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ config.h:
 %.h:
        @true
 
-REVISION ?= $(shell svnversion -n .)
+REVISION ?= $(shell git describe --always --dirty --match '')
 
 revision.h:
        @echo "===> GEN $@"