summaryrefslogtreecommitdiff
path: root/jmake/jmake.man
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@golden-gryphon.com>2014-04-27 21:42:40 -0700
committerManoj Srivastava <srivasta@golden-gryphon.com>2014-04-27 22:01:58 -0700
commit16646b26d8f8d9949732c92929313ed17f2ed455 (patch)
tree307ea7f43c58466083fc4c1c67055143e280212e /jmake/jmake.man
parent147ab4543f119c5c4e62afdcd908ff1f82f5a7ed (diff)
[fix-man-page-typo]: Fix man page typos.
Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
Diffstat (limited to 'jmake/jmake.man')
-rw-r--r--jmake/jmake.man42
1 files changed, 21 insertions, 21 deletions
diff --git a/jmake/jmake.man b/jmake/jmake.man
index 49c4b73..5f577e6 100644
--- a/jmake/jmake.man
+++ b/jmake/jmake.man
@@ -195,16 +195,16 @@ Available commands are:
|rule: <text>: same as before, with a leading tab.
.sp
.IP \(bu
-|skip: skips text until a line starting with '-skip' is found.
+|skip: skips text until a line starting with '\-skip' is found.
.sp
.IP \(bu
|subst: begins section where lines will be subject to variable substitution,
-until '-subst' is found. This means that when the Makefile.SH is run, all
+until '\-subst' is found. This means that when the Makefile.SH is run, all
instances of $var within the \fIsubst\fR section will be substituted by the
shell.
.sp
.IP \(bu
-|shell: emits section until matching '-shell' as-is in the generated
+|shell: emits section until matching '\-shell' as-is in the generated
Makefile.SH. This can be useful to prepare \fI|case\fR sections. It is
not allowed to nest \fIshell\fR sections.
.sp
@@ -213,15 +213,15 @@ not allowed to nest \fIshell\fR sections.
its leading '$' sign) and a case-style pattern, for instance the string
"var in f*". It will generate the corresponding "case" test in the
Makefile.SH on the "$var" value and only if this test is true will the
-section until the matching '-case' be generated in the Makefile when
+section until the matching '\-case' be generated in the Makefile when
Makefile.SH is run. It is possible to nest \fIcase\fR sections freely.
.sp
.IP \(bu
-|expand <pattern>: expand lines until '-expand' with <pattern>. A
+|expand <pattern>: expand lines until '\-expand' with <pattern>. A
complete example is shown below.
.sp
.IP \(bu
-|once <symbol>: text up to '-once' appears only the first time.
+|once <symbol>: text up to '\-once' appears only the first time.
.sp
.PP
The '|' commands cannot be nested, unless otherwise noted.
@@ -239,7 +239,7 @@ Here is a way to implement a logical OR:
?SYMBOL:text /* Keeps text if SYMBOL */
%SYMBOL:|skip
%TOKEN:text /* Keeps text if not TOKEN */
--skip
+\-skip
.fi
.in -5
.sp
@@ -256,7 +256,7 @@ not (p or q) <=> not p and not q
/* Implements SYMBOL or not TOKEN (attempt #2) */
%SYMBOL:?TOKEN:|skip
text /* If SYMBOL or not TOKEN */
--skip
+\-skip
.sp
.in -5
.fi
@@ -273,7 +273,7 @@ an example first:
|expand a!foo bar! b!yes no!
!a::
echo !a, !b
--expand
+\-expand
.fi
.in -5
.sp
@@ -302,7 +302,7 @@ It is defined in \fIJmake.rules\fR as:
#define Expand(rule, pattern) @!\\
|expand pattern @!\\
rule @!\\
--expand
+\-expand
.sp
.in -5
.fi
@@ -316,7 +316,7 @@ A = foo bar
#define Rule @!\\
$(DIR)/!a^^.o: !a^^.o @@\\
- $(CC) -c !a^^.c @@\\
+ $(CC) \-c !a^^.c @@\\
$(MV) !a^^.o $(DIR)
Expand(Rule, a!$(A)!)
@@ -328,11 +328,11 @@ which will generate in \fIMakefile.SH\fR:
.in +5
.nf
$(DIR)/foo.o: foo.o
- $(CC) -c foo.c
+ $(CC) \-c foo.c
$(MV) foo.o $(DIR)
$(DIR)/bar.o: bar.o
- $(CC) -c bar.c
+ $(CC) \-c bar.c
$(MV) bar.o $$(DIR)
.sp
.in -5
@@ -349,7 +349,7 @@ values for the \fBfirst\fR parameter. If other parameters have less
substitution values, they will get void ones.
.sp
.PP
-It is possible to add a regular expression at the end of '-expand'. This
+It is possible to add a regular expression at the end of '\-expand'. This
regular expression will be removed from the final set of expansion at the
end of each line. It is also possible to do substitutions in the expanded
item, by using the syntax (if 'f' is the expanded variable)
@@ -371,11 +371,11 @@ SRC = foo.c bar.c
OBJ = \\
|expand f!$(SRC)!
!f:\\.c=\\.o \\
--expand \\\\
+\-expand \\\\
INC = \\
|expand f!$(OBJ)!
!f:\\.o=\\.h \\
--expand \\\\
+\-expand \\\\
.fi
.in -5
.sp
@@ -398,7 +398,7 @@ as backslash, point, etc...
.sp
.PP
The \fIonce\fR command is tagged with a name. The first time the name
-appears, the once construct is ignored and the text up to '-once' will
+appears, the once construct is ignored and the text up to '\-once' will
be copied in the generated Makefile.SH. However, future occurences of
the same name will be ignored (\fIonce\fR will behave like \fIskip\fR).
.sp
@@ -408,7 +408,7 @@ Example:
.nf
|once this_is_a_name
<text>
--once
+\-once
.sp
.in -5
.fi
@@ -423,7 +423,7 @@ in the Makefile.SH. For instance, the following section in the Jmakefile:
case "$d_usegtk1" in
define) glib=1; gtk=1;;
esac
--shell
+\-shell
.sp
.in -5
.fi
@@ -440,7 +440,7 @@ parts of the Makefile only when building for GTK1 using glib-1.x:
|case glib in 1
display:
echo "Building for glib-1.x"
--case
+\-case
.sp
.in -5
.fi
@@ -482,7 +482,7 @@ User-defined variables:
.sp
The user may define CFLAGS, LDFLAGS or DPFLAGS as additional flags to be used
in C compilation, linking phase or depend target. It is thus possible to add
-some extra flags such as -I or libraries for Makefiles in specific
+some extra flags such as \-I or libraries for Makefiles in specific
sub-directories.
.sp
.PD