From bfb846498ca08e33dc7448a6b618cab360a12921 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 24 Mar 2008 12:03:54 +0100 Subject: [PATCH] Introduce @ovar from Autoconf. * doc/automake.texi (@ovar): New macro, from autoconf.texi. (Python): Use it. Suggestion by Eric Blake. Signed-off-by: Ralf Wildenhues --- ChangeLog | 6 ++++++ doc/automake.texi | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 678e91530..c054c5d0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-24 Ralf Wildenhues + + * doc/automake.texi (@ovar): New macro, from autoconf.texi. + (Python): Use it. + Suggestion by Eric Blake. + 2008-03-20 Ralf Wildenhues * lib/texinfo.tex: Sync from upstream. diff --git a/doc/automake.texi b/doc/automake.texi index eb86e45ac..c326c89ba 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -7,6 +7,14 @@ @include version.texi +@c @ovar(ARG, DEFAULT) +@c ------------------- +@c The ARG is an optional argument. To be used for macro arguments in +@c their documentation (@defmac). +@macro ovar{varname} +@r{[}@var{\varname\}@r{]} +@end macro + @copying This manual is for @acronym{GNU} Automake (version @value{VERSION}, @@ -7273,7 +7281,7 @@ files in your @file{Makefile.am}, depending where you want your files installed (see the definitions of @code{pythondir} and @code{pkgpythondir} below). -@defmac AM_PATH_PYTHON ([@var{VERSION}], [@var{ACTION-IF-FOUND}], [@var{ACTION-IF-NOT-FOUND}]) +@defmac AM_PATH_PYTHON (@ovar{VERSION}, @ovar{ACTION-IF-FOUND}, @ovar{ACTION-IF-NOT-FOUND}) Search for a Python interpreter on the system. This macro takes three optional arguments. The first argument, if present, is the minimum -- 2.47.2