Commit c6a37a5d authored by Bernd Zeimetz's avatar Bernd Zeimetz

Refreshing patches

parent 770fae3c
......@@ -4,7 +4,7 @@
CFLAGS ?= -O2 -Wall -Wshadow
-GIT_VERSION := $(shell git describe --abbrev=6 --dirty --always || date +%F)
-GIT_VERSION := $(shell git describe --abbrev=6 --dirty --always 2>/dev/null || date +%F)
+GIT_VERSION := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
GVCFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment