Follow-up Comment #4, sr #111195 (group libtool): [comment #3 comment #3:] > Here's a proposed patch that adds the libtool-next-version program to the > libtool package, including documentation.
Thank you for the patch file! It looks great, but I would make small changes
to the formatting of libtool.texi for when newlines are used. Also, this
script addition is definitely worth adding a NEWS entry. I can write something
for it and make the minor documentation changes in a following commit, but if
you would like to update the patch file, I can wait to apply that instead.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 2de42b65..052c6fc4 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -3256,14 +3256,11 @@ It prepares default answers, based on the set of
symbols exported by library.
It gives a couple of additional explanations and hints.
@end itemize
-Before invoking the wizard,
-you need to build and install
-the previous release and the current release candidate of your package
-into different directories.
-For example, assume the last release was @code{libfoo-1.4.tar.gz},
-and before preparing @code{libfoo-1.5.tar.gz}, your current release
candidate
-is @code{libfoo-1.4.99.tar.gz}.
-You build them like this:
+Before invoking the wizard, you need to build and install the previous
release
+and the current release candidate of your package into different
directories.
+For example, assume the last release was @code{libfoo-1.4.tar.gz}, and
before
+preparing @code{libfoo-1.5.tar.gz}, your current release candidate is
+@code{libfoo-1.4.99.tar.gz}. You build them like this:
@example
$ rm -rf /tmp/prev /tmp/curr
$ tar xfz libfoo-1.4.tar.gz
@@ -3290,21 +3287,19 @@ $ libtool-next-version /tmp/prev/lib/libfoo.so
/tmp/curr/lib/libfoo.so
@cindex command options, libtool-next-version
@cindex options, libtool-next-version command
-The @code{libtool-next-version} program
-determines the next version to use for a libtool library.
+The @code{libtool-next-version} program determines the next version to use
+for a libtool library.
It is invoked as follows:
@example
libtool-next-version [@var{option}]... @var{previous-library}
@var{current-library}
@end example
-@var{previous-library} is
-the installed library (in @code{.a} or @code{.so} format)
-of the previous release.
+@var{previous-library} is the installed library (in @code{.a} or @code{.so}
+format) of the previous release.
-@var{current-library} is
-the installed library (in @code{.a} or @code{.so} format)
-of the current release candidate.
+@var{current-library} is the installed library (in @code{.a} or @code{.so}
+format) of the current release candidate.
It accepts the following options:
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?111195>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
