diff options
Diffstat (limited to 'doc/make.texi')
-rw-r--r-- | doc/make.texi | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/doc/make.texi b/doc/make.texi index fb40d29..4ffefb9 100644 --- a/doc/make.texi +++ b/doc/make.texi @@ -5723,14 +5723,30 @@ else endif @end example +or: + +@example +@var{conditional-directive} +@var{text-if-one-is-true} +else @var{conditional-directive} +@var{text-if-true} +else +@var{text-if-false} +endif +@end example + @noindent -If the condition is true, @var{text-if-true} is used; otherwise, -@var{text-if-false} is used instead. The @var{text-if-false} can be any -number of lines of text. +There can be as many ``@code{else} @var{conditional-directive}'' +clauses as necessary. Once a given condition is true, +@var{text-if-true} is used and no other clause is used; if no +condition is true then @var{text-if-false} is used. The +@var{text-if-true} and @var{text-if-false} can be any number of lines +of text. The syntax of the @var{conditional-directive} is the same whether the -conditional is simple or complex. There are four different directives that -test different conditions. Here is a table of them: +conditional is simple or complex; after an @code{else} or not. There +are four different directives that test different conditions. Here is +a table of them: @table @code @item ifeq (@var{arg1}, @var{arg2}) |