mirror of
https://git.familie-radermacher.ch/linux/ptouch-print.git
synced 2025-11-20 20:32:05 +00:00
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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -9,6 +9,7 @@ Makefile.in
|
||||
/install-sh
|
||||
/missing
|
||||
/stamp-h1
|
||||
/configure
|
||||
/config.guess
|
||||
/config.h.in
|
||||
/config.rpath
|
||||
|
||||
3
build-aux/git-version-gen
Executable file
3
build-aux/git-version-gen
Executable file
@@ -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.
|
||||
|
||||
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_HEADERS([config.h])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user