X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=Makefile.in;h=463e4f8c19ab813ede9569a431e6092bf16072e0;hb=3b73f99ccb5a2f3dc5237031ec9c0b0b7939220b;hp=d23f50accf051d96bd160bb29dc1724150d77b28;hpb=634f55ed8af9e8a3360519d58f65cb011700e3fe;p=onak.git diff --git a/Makefile.in b/Makefile.in index d23f50a..463e4f8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -178,8 +178,8 @@ doxygen-docs: *.c *.h Doxyfile version.h: @echo '#include "config.h"' > version.h - @if [ -e .bzr ]; then \ - echo "#define ONAK_VERSION PACKAGE_VERSION \"+bzr`bzr revno`\"" \ + @if [ -e .git ]; then \ + echo "#define ONAK_VERSION \"`git describe --tags --dirty | cut -d - -f 2-`\"" \ >> version.h; \ else \ echo "#define ONAK_VERSION PACKAGE_VERSION" >> version.h; \