Debian Codegraph @

debian/patches/0003-Get-package-version-from-dpkg-parsechangelog.patch

raw symbols SCIP
1 From: Kevin Murray <[email protected]>
2 Date: Wed, 23 Sep 2015 22:58:03 +1000
3 Subject: Get package version from dpkg-parsechangelog
4
5 ---
6 Makefile | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 diff --git a/Makefile b/Makefile
10 index 3cabbbd..1c98cce 100644
11 --- a/Makefile
12 +++ b/Makefile
13 @@ -1,5 +1,5 @@
14 PROGRAM_NAME = scythe
15 -VERSION = 0.994
16 +VERSION ='"$(shell dpkg-parsechangelog | grep '^Version:' | cut -f 2 -d ' ')"'
17 CC = gcc
18 DEBUG ?= 0
19 ifeq ($(DEBUG), 1)