[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11793: [PATCH] docs: document AM_MISSING_PROG
From: |
Eric Blake |
Subject: |
bug#11793: [PATCH] docs: document AM_MISSING_PROG |
Date: |
Wed, 27 Jun 2012 15:55:14 -0600 |
Addresses automake bug#11793.
This macro has been present for a long time, and coreutils has been
relying on it despite no documentation, which argues that it is stable
enough to be worth documenting.
Furthermore, since we are hoping to change our preferred invocation
from 'missing --run program' to 'missing program' in a future version
of automake, we need a way for packages to consistently get the
preferred invocation form rather than open-coding a call to 'missing'.
In particular, the Autoconf manual would love to recommend this macro
when discussing how to integrate an autotest suite with automake.
* doc/automake.texi (Public Macros): Document AM_MISSING_PROG.
---
doc/automake.texi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/doc/automake.texi b/doc/automake.texi
index 059241d..20af53e 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -4062,6 +4062,16 @@ Public Macros
This macro will abort @command{configure} if no Unified Parallel C
compiler is found.
address@hidden AM_MISSING_PROG(@var{name}, @var{program})
address@hidden AM_MISSING_PROG
address@hidden MISSING
+Find a maintainer tool @var{program} and define the @var{name}
+environment variable with its location. If @var{program} is not
+detected, then @var{name} will instead invoke the @command{missing}
+script, in order to give useful advice to the user about the missing
+maintainer tool. @xref{maintainer-mode}, for more information on when
+the @command{missing} script is appropriate.
+
@item AM_SILENT_RULES
@acindex AM_SILENT_RULES
Enable the machinery for less verbose build output (@pxref{Options}).
--
1.7.10.2