From b58ce2a5c5811889216cc4ce6355e4243d7c9aac Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 29 Oct 2017 18:00:43 -0400 Subject: Makefile.am: Add " (" and ")" to PACKAGE_VERSION_GIT --- (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index d47aebf..a1ece4e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,10 +18,12 @@ # along with Marquee. If not, see . if IN_GIT -PACKAGE_VERSION_GIT = $$({ git describe --tags --dirty 2>/dev/null || \ - printf '%s-g%s%s' \ - "$$(git rev-list --count HEAD)" \ - "$$(git describe --tags --dirty --always)"; } | sed 's|^.*/||') +PACKAGE_VERSION_GIT = $$(printf ' (%s)' \ + "$$({ git describe --tags --dirty 2>/dev/null || \ + printf '%s-g%s%s' \ + "$$(git rev-list --count HEAD)" \ + "$$(git describe --tags --dirty --always)"; \ + } | sed 's|^.*/||')") else PACKAGE_VERSION_GIT = endif -- cgit v0.9.1