From: Kevin Murray Date: Wed, 23 Sep 2015 22:58:03 +1000 Subject: Get package version from dpkg-parsechangelog --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3cabbbd..1c98cce 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PROGRAM_NAME = scythe -VERSION = 0.994 +VERSION ='"$(shell dpkg-parsechangelog | grep '^Version:' | cut -f 2 -d ' ')"' CC = gcc DEBUG ?= 0 ifeq ($(DEBUG), 1)