summaryrefslogtreecommitdiff
path: root/jmake/jmake.man
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@golden-gryphon.com>2014-04-27 17:54:01 -0700
committerManoj Srivastava <srivasta@golden-gryphon.com>2014-04-27 17:54:01 -0700
commit8f5e5726134ce5b4bd436b16f367796d851df553 (patch)
tree0ce2ad130721dcf917d7f81fb8495bf0a189d266 /jmake/jmake.man
parent02bf7be6fc0f798790ef5b2160bc89a77b909428 (diff)
Imported Upstream version 3.5-36
Diffstat (limited to 'jmake/jmake.man')
-rw-r--r--jmake/jmake.man39
1 files changed, 33 insertions, 6 deletions
diff --git a/jmake/jmake.man b/jmake/jmake.man
index 2125c0c..afd5e65 100644
--- a/jmake/jmake.man
+++ b/jmake/jmake.man
@@ -1,4 +1,4 @@
-''' $Id: jmake.man 3 2006-08-25 21:39:07Z rmanfredi $
+''' $Id: jmake.man 47 2010-11-28 22:23:13Z rmanfredi $
'''
''' Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
'''
@@ -152,6 +152,33 @@ To implement a logical OR, see below.
.RE
.sp
.IP 3)
+Makefile target tests:
+.sp
+.RS
+.IP \(bu
+?\fItarget\fR?:<text>: keeps <test> iff \fItarget\fR is defined.
+.IP \(bu
+%\fItarget\fR%:<text>: keeps <test> iff \fItarget\fR is not defined.
+.sp
+A makefile \fItarget\fR is defined as a standalone target, for instance
+the
+.B depend.local
+target, which would be defined as:
+.sp
+.in +5
+.nf
+depend.local:
+.sp
+.in -5
+.fi
+Also note that it is only valid for targets defined
+.I so far
+in the generated makefile. It is not a predicate that can be used
+to test for targets that will eventually be defined later on in the
+generation.
+.RE
+.sp
+.IP 4)
Commands:
.sp
.RS
@@ -217,9 +244,9 @@ Here is a way to implement a logical OR:
.in -5
.sp
Actually, this is ugly, because the text has to appear twice.
-Fortunately, I did not use it. :-)
+Fortunately, I did not use that construct. :-)
.sp
-But actually, as you have surely already guessed, the best way to
+Indeed, as you have surely already guessed, the best way to
implement a logical OR is to use De Morgan's Law:
.sp
.in +5
@@ -233,7 +260,7 @@ text /* If SYMBOL or not TOKEN */
.sp
.in -5
.fi
-Who said they didn't care ? ;-)
+Who said they didn't care about logic? ;-)
.sp
.PP
Expansion is done with the \fIexpand\fR command. It has been provided to
@@ -440,7 +467,7 @@ therefore depend on the configuration options chosen when \fIConfigure\fR
was run.
.RE
.sp
-.IP 4)
+.IP 5)
Initializations:
.sp
.RS
@@ -450,7 +477,7 @@ Initializations:
++SYMBOL <value>: Adds <value> to the SYMBOL macro.
.RE
.sp
-.IP 5)
+.IP 6)
User-defined variables:
.sp
The user may define CFLAGS, LDFLAGS or DPFLAGS as additional flags to be used