I'm getting the following error with older makeinfo (4.13): ./doc/coreutils.texi:14177: `Realpath usage examples' has no Up field (perhaps incorrect sectioning?). makeinfo: Removing output file `doc/coreutils.info' due to errors; use --force to preserve.
I know that we require much newer 6.1, but fixing this simple issue seems tempting. I don't know if this is the correct fix, and probably adding a one-entry menu is stylistic bug, but it silences the error. WDYT? Have a nice day, Berny
>From ee0cdae2b188c20397e9be39dc0d219f2e8728c2 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker <[email protected]> Date: Tue, 5 Sep 2017 00:20:01 +0200 Subject: [PATCH] doc: fix Up field of realpath examples Older versions of 'makeinfo' choke on a missing reference: ./doc/coreutils.texi:14177: `Realpath usage examples' has no Up field\ (perhaps incorrect sectioning?). makeinfo: Removing output file `doc/coreutils.info' due to errors; \ use --force to preserve. * doc/coreutils.texi (realpath invocation): Add a menu referencing the usage examples - introduced in v8.27-91-g7449f0d. --- doc/coreutils.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index eb17462..8870b5a 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -14078,6 +14078,10 @@ Exit status: @pindex realpath @findex realpath +@menu +* Realpath usage examples:: Realpath usage examples. +@end menu + @command{realpath} expands all symbolic links and resolves references to @samp{/./}, @samp{/../} and extra @samp{/} characters. By default, all but the last component of the specified files must exist. Synopsis: -- 2.1.4
