Code

configure.ac: Fixed PACKAGE_BUGREPORT and introduced PACKAGE_MAINTAINER.
authorSebastian Harl <sh@tokkee.org>
Tue, 18 Oct 2011 20:01:41 +0000 (22:01 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 18 Oct 2011 20:01:41 +0000 (22:01 +0200)
configure.ac
src/fb.c

index 88e2f6cdb4ff6ab5d0ce7744f7f5987f9f281cf5..f5fe02e889161dd9f97d1020b0f7de62422510fa 100644 (file)
@@ -41,9 +41,12 @@ dnl OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 dnl ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 AC_INIT([foobar full name],[m4_esyscmd(./version-gen.sh)],
-               [Sebastian 'tokkee' Harl <sh@tokkee.org>],
+               [sh@tokkee.org],
                [foobar],
                [http://git.tokkee.org/?p=template.git])
+PACKAGE_MAINTAINER="Sebastian 'tokkee' Harl <sh@tokkee.org>"
+AC_DEFINE_UNQUOTED([PACKAGE_MAINTAINER], ["$PACKAGE_MAINTAINER"],
+               [Define to the name of the maintainer of this package.])
 AC_CONFIG_SRCDIR([src/foobar.c])
 AC_CONFIG_HEADERS([src/config.h])
 AC_PREFIX_DEFAULT([/opt/foobar])
@@ -205,6 +208,7 @@ Configuration summary:
   package version: $PACKAGE_VERSION
   build date: `date --utc '+%F %T'` (UTC)
 
+This package is maintained by $PACKAGE_MAINTAINER.
 Please report bugs to $PACKAGE_BUGREPORT.
 
 EOF
index 997ecf955c75203a73e24d741e8f4df39d50046f..9885fa6c33a5d63d0a5416fd5711d6f3a5823dc2 100644 (file)
--- a/src/fb.c
+++ b/src/fb.c
@@ -81,7 +81,7 @@ exit_version(void)
 {
        printf("fb version "FB_VERSION_STRING FB_VERSION_EXTRA", "
                        "built "BUILD_DATE"\n"
-                       "Copyright (C) 2011 "PACKAGE_BUGREPORT"\n"
+                       "Copyright (C) 2011 "PACKAGE_MAINTAINER"\n"
 
                        "\nThis is free software under the terms of the GNU GPLv2; see "
 /* OR: */