diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-11-07 16:47:46 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-11-07 16:47:46 +0100 |
commit | d0c49a5da9e93c134b5a03349b0b4fe453a26a4b (patch) | |
tree | b6447d65f717305d0b3b574c9ed9cad2c331821b | |
parent | ab0ba7ed41d0d27deb3c3ca2caf3409de7f317e3 (diff) | |
download | ndim-git-utils-d0c49a5da9e93c134b5a03349b0b4fe453a26a4b.tar.gz ndim-git-utils-d0c49a5da9e93c134b5a03349b0b4fe453a26a4b.tar.xz ndim-git-utils-d0c49a5da9e93c134b5a03349b0b4fe453a26a4b.zip |
Test git-buildmsg output.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | git-buildmsg/Makefile-files | 11 | ||||
-rw-r--r-- | git-buildmsg/git-buildmsg.in | 2 |
4 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 3dc1cbf..46f5ae9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,6 +6,8 @@ man1_MANS = UPLOAD_FILES = doc_DATA = dist_doc_DATA = +check_PROGRAMS = +TESTS = AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = ACLOCAL_AMFLAGS = -I m4 --install diff --git a/configure.ac b/configure.ac index 2bfb573..c12a80c 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,7 @@ AM_INIT_AUTOMAKE([-Wall -Werror foreign 1.10 dist-bzip2 ######################################################################## AC_PROG_SED +AC_PROG_CC m4_pattern_forbid([NDIM_DETECT_MAN2TXT])dnl NDIM_DETECT_MAN2TXT()dnl diff --git a/git-buildmsg/Makefile-files b/git-buildmsg/Makefile-files index 4ac20bd..05938a2 100644 --- a/git-buildmsg/Makefile-files +++ b/git-buildmsg/Makefile-files @@ -2,3 +2,14 @@ bin_SCRIPTS += git-buildmsg/git-buildmsg EXTRA_DIST += git-buildmsg/git-buildmsg.in UPLOAD_FILES += git-buildmsg/git-buildmsg + +TESTS += git-buildmsg-test +check_PROGRAMS += git-buildmsg-test +nodist_git_buildmsg_test_SOURCES = git-buildmsg/git-buildmsg-test.c + +BUILT_SOURCES += git-buildmsg/git-buildmsg-test.c +CLEANFILES += git-buildmsg/git-buildmsg-test.c +git-buildmsg/git-buildmsg-test.c: git-buildmsg/git-buildmsg + mkdir -p git-buildmsg + sh git-buildmsg/git-buildmsg --example --srcdir "$(top_srcdir)" \ + --output git-buildmsg/git-buildmsg-test.c diff --git a/git-buildmsg/git-buildmsg.in b/git-buildmsg/git-buildmsg.in index c6be42d..82057c3 100644 --- a/git-buildmsg/git-buildmsg.in +++ b/git-buildmsg/git-buildmsg.in @@ -98,7 +98,7 @@ cd "$srcdir" cat<<EOF /* * Basic versioning gathered from the git repository. - * Automatically generated by $0. + * Automatically generated by ${self}. */ #ifndef ${ifndef_symbol} |