From a150644bf4c571dc924852594381115dbffd2e1a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 1 Mar 2025 15:59:29 +0100 Subject: [PATCH] package-version: Improve wording in './configure --help'. Reported by Benno Schulenberg in . * doc/package-version.texi: Recommend a dummy version number named 'package', not 'dummy'. * m4/init-package-version.m4: Update comments accordingly. * build-aux/git-version-gen: Likewise. --- ChangeLog | 10 ++++++++++ build-aux/git-version-gen | 2 +- doc/package-version.texi | 2 +- m4/init-package-version.m4 | 4 ++-- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78bea7bde0..81124a5de4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2025-03-01 Bruno Haible + + package-version: Improve wording in './configure --help'. + Reported by Benno Schulenberg in + . + * doc/package-version.texi: Recommend a dummy version number named + 'package', not 'dummy'. + * m4/init-package-version.m4: Update comments accordingly. + * build-aux/git-version-gen: Likewise. + 2025-02-28 Bruno Haible vc-mtime: Fix module description. diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen index da6e131c03..250b77accb 100755 --- a/build-aux/git-version-gen +++ b/build-aux/git-version-gen @@ -55,7 +55,7 @@ scriptversion=2025-01-28.09; # UTC # since configure.ac no longer includes a version string, Makefile rules # should not depend on configure.ac for version updates). # -# AC_INIT([@var{package}], [dummy]) +# AC_INIT([@var{package}], [package]) # AC_CONFIG_SRCDIR([@var{unique-file-in-source-dir}]) # AC_CONFIG_AUX_DIR([build-aux]) # VERSION_NUMBER=`cd $srcdir \ diff --git a/doc/package-version.texi b/doc/package-version.texi index b8aa9ff96b..cef4be2d0a 100644 --- a/doc/package-version.texi +++ b/doc/package-version.texi @@ -118,7 +118,7 @@ a few lines are needed in @code{configure.ac}. The recommended code pattern is @example -AC_INIT([@var{package}], [dummy]) +AC_INIT([@var{package}], [package]) AC_CONFIG_SRCDIR([@var{unique-file-in-source-dir}]) AC_CONFIG_AUX_DIR([build-aux]) VERSION_NUMBER=`cd $srcdir \ diff --git a/m4/init-package-version.m4 b/m4/init-package-version.m4 index a9acf8453f..a95b804c49 100644 --- a/m4/init-package-version.m4 +++ b/m4/init-package-version.m4 @@ -1,5 +1,5 @@ # init-package-version.m4 -# serial 6 +# serial 7 dnl Copyright (C) 1992-2025 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General @@ -57,7 +57,7 @@ dnl the same distribution terms as the rest of that program. # # With the macro defined in this file, the approach can be coded like this: # -# AC_INIT(PACKAGE, [dummy], [MORE OPTIONS]) +# AC_INIT(PACKAGE, [package], [MORE OPTIONS]) # AC_CONFIG_SRCDIR(WITNESS) # . $srcdir/../version.sh # gl_INIT_PACKAGE_VERSION($VERSION_NUMBER) -- 2.39.5