From: Ralf Wildenhues Date: Tue, 22 Jun 2010 21:50:33 +0000 (+0200) Subject: Add comments for vim syntax highlighting. X-Git-Tag: v2.66~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de8b1ecbdb42f7c66eaf2e11f61768df4f71a7cb;p=thirdparty%2Fautoconf.git Add comments for vim syntax highlighting. * doc/autoconf.texi: Restore font-lock in some examples using $$, for vim. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 297db2dc..d59487e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-06-22 Ralf Wildenhues + Add comments for vim syntax highlighting. + * doc/autoconf.texi: Restore font-lock in some examples using + $$, for vim. + Formatting cleanups for optional arguments. * doc/autoconf.texi (Configuration Actions, Help Formatting) (External Software): Use @r{} for brackets denoting optional diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 9172bd7c..77013d43 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -2855,6 +2855,7 @@ autoheader autom4te: Makefile srcdir=''; \ test -f ./$@@.in || srcdir=$(srcdir)/; \ $(edit) $$@{srcdir@}$@@.in >$@@.tmp +@c $$ restore font-lock chmod +x $@@.tmp chmod a-w $@@.tmp mv $@@.tmp $@@ @@ -10853,6 +10854,7 @@ use the following special escapes: @table @samp @item $$ +@c $$ 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 +@c $$ 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; \ +@c $$ 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; \ +@c $$ 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)'`; \ +@c $$ restore font-lock done @end example