path: root/jmake/
diff options
Diffstat (limited to 'jmake/')
1 files changed, 34 insertions, 7 deletions
diff --git a/jmake/ b/jmake/
index a9cf077..49c4b73 100644
--- a/jmake/
+++ b/jmake/
@@ -1,7 +1,7 @@
-.\" $Id: 3 2006-08-25 21:39:07Z rmanfredi $
+.\" $Id: 47 2010-11-28 22:23:13Z rmanfredi $
.\" Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
.\" You may redistribute only under the terms of the Artistic Licence,
.\" as specified in the README file that comes with the distribution.
.\" You may reuse parts of this distribution only within the terms of
@@ -152,6 +152,33 @@ To implement a logical OR, see below.
.IP 3)
+Makefile target tests:
+.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.
+A makefile \fItarget\fR is defined as a standalone target, for instance
+.B depend.local
+target, which would be defined as:
+.sp +5
+.sp -5
+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
+.IP 4)
@@ -217,9 +244,9 @@ Here is a way to implement a logical OR:
.in -5
Actually, this is ugly, because the text has to appear twice.
-Fortunately, I did not use it. :-)
+Fortunately, I did not use that construct. :-)
-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:
.in +5
@@ -233,7 +260,7 @@ text /* If SYMBOL or not TOKEN */
.in -5
-Who said they didn't care ? ;-)
+Who said they didn't care about logic? ;-)
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.
-.IP 4)
+.IP 5)
@@ -450,7 +477,7 @@ Initializations:
++SYMBOL <value>: Adds <value> to the SYMBOL macro.
-.IP 5)
+.IP 6)
User-defined variables:
The user may define CFLAGS, LDFLAGS or DPFLAGS as additional flags to be used