autoconf-patches
[Top][All Lists]
Advanced

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

Two trivial patches for the manual.


From: Ralf Wildenhues
Subject: Two trivial patches for the manual.
Date: Tue, 22 Jun 2010 22:32:35 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

The first borders on obvious, I checked info and PDF output from texinfo
4.11.

The second one helps vim users editing the file.  An alternative would
be to get hacking on vim's syntax file.  WDYT?

Thanks,
Ralf

    Formatting cleanups for optional arguments.
    
    * doc/autoconf.texi (Configuration Actions, Help Formatting)
    (External Software): Use @r{} for brackets denoting optional
    arguments, where @ovar is not safe to use.

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index c003acc..543afaa 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -2176,7 +2176,7 @@ have this prototype:
 @c FIXME: Can't use @ovar here, Texinfo 4.0 goes lunatic and emits something
 @c awful.
 @example
address@hidden(@address@hidden, address@hidden, address@hidden)
address@hidden(@address@hidden, @address@hidden@r{]}, @address@hidden@r{]})
 @end example
 
 @noindent
@@ -20527,7 +20527,7 @@ The options have one of these forms:
 @c FIXME: Can't use @ovar here, Texinfo 4.0 goes lunatic and emits something
 @c awful.
 @example
address@hidden@var{arg}]
address@hidden@address@hidden@r{]}
 address@hidden
 @end example
 
@@ -20680,7 +20680,7 @@ compile them.  The options have one of these forms:
 @c FIXME: Can't use @ovar here, Texinfo 4.0 goes lunatic and emits something
 @c awful.
 @example
address@hidden@var{arg}]
address@hidden@address@hidden@r{]}
 address@hidden
 @end example
 


    Add comments for vim syntax highlighting.
    
    * doc/autoconf.texi: Restore font-lock in some examples using
    $$, for vim.

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 543afaa..1c1c881 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -2855,6 +2855,7 @@ autoheader autom4te: Makefile
         srcdir=''; \
           test -f ./$@@.in || srcdir=$(srcdir)/; \
           $(edit) address@hidden@}$@@.in >$@@.tmp
address@hidden $$ restore font-lock
         chmod +x $@@.tmp
         chmod a-w $@@.tmp
         mv $@@.tmp $@@
@@ -10863,6 +10864,7 @@ use the following special escapes:
 
 @table @samp
 @item $$
address@hidden $$ restore font-lock
 The character @samp{$}.
 
 @item $f
@@ -18063,6 +18065,7 @@ Here is sample code to create a new temporary directory 
safely:
   test -n "$tmp" && test -d "$tmp"
 @} || @{
   tmp=$TMPDIR/foo$$-$RANDOM
address@hidden $$ restore font-lock
   (umask 077 && mkdir "$tmp")
 @} || exit $?
 @end example
@@ -19165,6 +19168,7 @@ install-HEADERS: $(HEADERS)
           $(INSTALL) -m 644 \
             `test -f $$i || echo $(VPATH)/`$$i \
             $(DESTDIR)$(includedir)/$$i; \
address@hidden $$ restore font-lock
         done
 @end example
 
@@ -19243,6 +19247,7 @@ install-HEADERS: $(HEADERS)
           $(INSTALL) -m 644 \
             `test -f $$i || echo $(VPATH)/`$$i \
             $(DESTDIR)$(includedir)/$$i; \
address@hidden $$ restore font-lock
         done
 @end example
 
@@ -20977,6 +20982,7 @@ install:
 uninstall:
         for p in $(PROGRAMS); do \
           rm -f $(DESTDIR)$(bindir)/`echo $$p | sed '$(transform)'`; \
address@hidden $$ restore font-lock
         done
 @end example
 



reply via email to

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