We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caf4e70 commit aea651bCopy full SHA for aea651b
Makefile
@@ -7,8 +7,8 @@ PREFIX = /usr
7
BINDIR = $(PREFIX)/bin
8
9
# Extract version from debian/changelog
10
-VERSION := $(shell head -1 debian/changelog | sed -n 's/.*([^)]*\([0-9][0-9.]*\)).*/\1/p')
11
-CPPFLAGS += -DVERSION="\"$(VERSION)\""
+VERSION := $(shell head -1 debian/changelog | sed -n 's/.*(\([0-9][0-9.]*\)[^)]*).*/\1/p')
+CPPFLAGS += -DVERSION='"$(VERSION)"'
12
13
# Coverage flags (set COVERAGE=1 to enable)
14
ifdef COVERAGE
0 commit comments