Skip to content

Commit aea651b

Browse files
committed
Makefile quoting
1 parent caf4e70 commit aea651b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ PREFIX = /usr
77
BINDIR = $(PREFIX)/bin
88

99
# 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)\""
10+
VERSION := $(shell head -1 debian/changelog | sed -n 's/.*(\([0-9][0-9.]*\)[^)]*).*/\1/p')
11+
CPPFLAGS += -DVERSION='"$(VERSION)"'
1212

1313
# Coverage flags (set COVERAGE=1 to enable)
1414
ifdef COVERAGE

0 commit comments

Comments
 (0)