8000 Determine autoconf package version from git tags · unittest-cpp/unittest-cpp@1a62540 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1a62540

Browse files
committed
Determine autoconf package version from git tags
1 parent b7e0d70 commit 1a62540

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

configure.ac

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.69])
5-
AC_INIT([UnitTest++], [1.6.0], [pjohnmeyer@gmail.com])
5+
AC_INIT([UnitTest++],
6+
m4_esyscmd_s([git describe --tags | cut -c2-]),
7+
[pjohnmeyer@gmail.com],
8+
[unittest-cpp])
9+
610
AC_CONFIG_SRCDIR([UnitTest++/TestDetails.cpp])
711
AC_CONFIG_MACRO_DIR([m4])
812
AC_CONFIG_HEADERS([config.h])

0 commit comments

Comments
 (0)
0