added generated configure to .gitignore, VERSION string now is in my preferred format using helper script build-aux/git-version-gen
This commit is contained in:
parent
d093ba96e7
commit
73026c7ed3
|
|
@ -9,6 +9,7 @@ Makefile.in
|
||||||
/install-sh
|
/install-sh
|
||||||
/missing
|
/missing
|
||||||
/stamp-h1
|
/stamp-h1
|
||||||
|
/configure
|
||||||
/config.guess
|
/config.guess
|
||||||
/config.h.in
|
/config.h.in
|
||||||
/config.rpath
|
/config.rpath
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
GIT_VERSION=$(git --no-pager describe --tags --dirty |sed 's/\([^-]*-g\)/r\1/;s/-/./g')
|
||||||
|
echo -ne ${GIT_VERSION}
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ([2.69])
|
AC_PREREQ([2.69])
|
||||||
AC_INIT([ptouch], [m4_esyscmd_s([git describe --tags])], [blip@mockmoon-cybernetics.ch])
|
AC_INIT([ptouch], [m4_esyscmd_s([build-aux/git-version-gen])], [blip@mockmoon-cybernetics.ch])
|
||||||
AC_CONFIG_SRCDIR([src/libptouch.c])
|
AC_CONFIG_SRCDIR([src/libptouch.c])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue