autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] doc: fix bad @xref uses


From: Eric Blake
Subject: [PATCH] doc: fix bad @xref uses
Date: Tue, 24 Apr 2012 20:13:47 -0600

Upstream gnulib maint.mk improvements caught a few issues we
should fix, as well as a few issues in files we copy from
other sources that we will just ignore here.

* doc/autoconf.texi (Generic Programs, Special Shell Variables)
(Limitations of Builtins): Use references correctly.
* cfg.mk
(exclude_file_name_regexp--sc_prohibit_undesirable_word_seq)
(exclude_file_name_regexp--sc_useless_cpp_parens): Add exemptions.
---
 cfg.mk            |    7 ++++---
 doc/autoconf.texi |    8 ++++----
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 3febab0..e79ff55 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -129,12 +129,13 @@ update-copyright-env = \
 # Prevent incorrect NEWS edits.
 old_NEWS_hash = 54ad39275441a2a3fcbe6182da4f84fb

-exclude_file_name_regexp--sc_prohibit_undesirable_word_seq = ^maint\.mk$$
+exclude_file_name_regexp--sc_prohibit_undesirable_word_seq = \
+  ^(maint\.mk|build-aux/texinfo\.tex)$$
 exclude_file_name_regexp--sc_prohibit_test_minus_ao = \
   ^(maint\.mk|doc/autoconf\.texi)$$
-
 exclude_file_name_regexp--sc_prohibit_atoi_atof = ^doc/autoconf\.texi$$
-exclude_file_name_regexp--sc_useless_cpp_parens = ^build-aux/config\.guess$$
+exclude_file_name_regexp--sc_useless_cpp_parens = \
+  ^(build-aux/config\.guess|doc/standards\.texi)$$
 exclude_file_name_regexp--sc_trailing_blank = ^build-aux/texinfo\.tex$$
 exclude_file_name_regexp--sc_two_space_separator_in_usage = \
   ^build-aux/gnupload$$
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index a629668..34ca213 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -4211,7 +4211,7 @@ Generic Programs
 @end example

 You are strongly encouraged to declare the @var{variable} passed to
address@hidden etc.@: as precious, @xref{Setting Output Variables},
address@hidden etc.@: as precious.  @xref{Setting Output Variables},
 @code{AC_ARG_VAR}, for more details.

 @anchor{AC_CHECK_PROG}
@@ -16782,7 +16782,7 @@ Special Shell Variables

 @noindent
 (actually, there is some complication due to bugs in @command{unset};
-see @pxref{unset, , Limitations of Shell Builtins}).
address@hidden, , Limitations of Shell Builtins}).

 @item FPATH
 @evindex FPATH
@@ -17874,8 +17874,8 @@ Limitations of Builtins
 @samp{-}. With Solaris @command{ksh}, it is possible to use @code{print
 -r --} for this role instead.

-For a discussion of portable alternatives to both @command{printf}
-and @command{echo}, @xref{echo, , Limitations of Shell Builtins}.
address@hidden, , Limitations of Shell Builtins} for a discussion of
+portable alternatives to both @command{printf} and @command{echo}.


 @item @command{pwd}
-- 
1.7.7.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]