diff --git a/Makefile b/Makefile index f5265b00867504345d53627016fb050b5077d975..3c9e74d508b4110d9ad601d943cc648d6f8fb735 100644 --- a/Makefile +++ b/Makefile @@ -128,7 +128,7 @@ test: all .PHONY: test #.PHONY: gitversion -gitversion: +version: @( BEDTOOLS_VERSION="" ; \ [ -e "$(VERSION_FILE)" ] && BEDTOOLS_VERSION=$$(grep "define VERSION_GIT " "$(VERSION_FILE)" | cut -f3 -d" " | sed 's/"//g') ; \ GIT_VERSION=$$(git describe --always --tags --dirty) ; \