]> Savannah Git Hosting - gnulib.git/commitdiff
package-version: Improve wording in './configure --help'.
authorBruno Haible <bruno@clisp.org>
Sat, 1 Mar 2025 14:59:29 +0000 (15:59 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 1 Mar 2025 14:59:29 +0000 (15:59 +0100)
Reported by Benno Schulenberg <bensberg@telfort.nl> in
<https://lists.gnu.org/archive/html/bug-gettext/2025-03/msg00000.html>.

* 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
build-aux/git-version-gen
doc/package-version.texi
m4/init-package-version.m4

index 78bea7bde03cf6970d068e24f8679a954d2025a8..81124a5de44f7872e56bea5aaed338ea182ee080 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2025-03-01  Bruno Haible  <bruno@clisp.org>
+
+       package-version: Improve wording in './configure --help'.
+       Reported by Benno Schulenberg <bensberg@telfort.nl> in
+       <https://lists.gnu.org/archive/html/bug-gettext/2025-03/msg00000.html>.
+       * 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  <bruno@clisp.org>
 
        vc-mtime: Fix module description.
index da6e131c03216aa3142050b62358b13925d1d6aa..250b77accb683a2829a766961cedfa75e53dbeb0 100755 (executable)
@@ -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 \
index b8aa9ff96b91091ef0b400fb51925dc061d6f693..cef4be2d0aaef4d3d1693e7b9672e1ece85a5c0f 100644 (file)
@@ -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 \
index a9acf8453f8f283ac82313f84f41181182af2d0f..a95b804c4913cb1d6f14a2e5462d8ef40b2f50a1 100644 (file)
@@ -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)