Skip to content

Commit d161b9c

Browse files
authored
Strip leading "v" from version tag in configure.ac (#16)
Previously, configure.ac used the latest git tag verbatim as the version number. Version tags are conventionally prefixed with "v", so this commit explicitly strips that prefix. Note the use of "sed" rather than "$SED" in "configure.ac". This is fine, as maintainer machines can reasonably be expected to have a sensibly-configured sed.
1 parent 68995ea commit d161b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ AC_PREREQ([2.64])
44

55
# Package version from `git describe --always`
66
AC_INIT([pipes.c],
7-
[m4_esyscmd_s([git describe --always])],
7+
m4_esyscmd_s([git describe --always | sed 's/^v//' ]),
88
[stefans.mezulis@gmail.com])
99
AC_CONFIG_HEADERS([config.h])
1010
AC_CONFIG_SRCDIR([src/cpipes.c])

0 commit comments

Comments
 (0)