Skip to content

Commit 06bf890

Browse files
committed
Merge pull request #24 from bentley/mdoc
Convert manual page to use semantic -mdoc macros.
2 parents c97090f + 0ab7861 commit 06bf890

File tree

1 file changed

+139
-124
lines changed

1 file changed

+139
-124
lines changed

doc/rake.1

Lines changed: 139 additions & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -1,141 +1,156 @@
1-
.\" Hey, EMACS: -*- nroff -*-
2-
.\" First parameter, NAME, should be all caps
3-
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4-
.\" other parameters are allowed: see man(7), man(1)
5-
.TH RAKE 1 "August 27, 2014" "rake 10.3.2" "Rake User Commands"
6-
.\" Please adjust this date whenever revising the manpage.
7-
.\"
8-
.\" Some roff macros, for reference:
9-
.\" .nh disable hyphenation
10-
.\" .hy enable hyphenation
11-
.\" .ad l left justify
12-
.\" .ad b justify to both left and right margins
13-
.\" .nf disable filling
14-
.\" .fi enable filling
15-
.\" .br insert line break
16-
.\" .sp <n> insert n+1 empty lines
17-
.\" for manpage-specific macros, see man(7)
18-
.SH NAME
19-
rake \- a make-like build utility for Ruby
20-
.SH SYNOPSIS
21-
\fBrake\fR [\fI\-f rakefile\fR] {\fIOPTIONS\fR} \fITARGETS...\fR
22-
.br
23-
.SH DESCRIPTION
24-
.B rake
25-
is a make-like build utility for Ruby. Tasks and dependencies are specified in
26-
standard Ruby syntax.
27-
.SH OPTIONS
28-
.TP
29-
\fB\-m\fR, \fB\-\-multitask\fR
1+
.Dd August 27, 2014
2+
.Dt RAKE 1
3+
.Os
4+
.Sh NAME
5+
.Nm rake
6+
.Nd make-like build utility for Ruby
7+
.Sh SYNOPSIS
8+
.Nm
9+
.Op Fl f Ar rakefile
10+
.Op Ar options
11+
.Ar targets ...
12+
.Sh DESCRIPTION
13+
.Nm
14+
is a
15+
.Xr make 1 Ns -like
16+
build utility for Ruby.
17+
Tasks and dependencies are specified in standard Ruby syntax.
18+
.Sh OPTIONS
19+
.Bl -tag -width Ds
20+
.It Fl m , Fl -multitask
3021
Treat all tasks as multitasks.
31-
.TP
32-
\fB\-B\fR, \fB\-\-build\-all\fR
22+
.It Fl B , Fl -build-all
3323
Build all prerequisites, including those which are up\-to\-date.
34-
35-
.TP
36-
\fB\-j\fR, \fB\-\-jobs\fR [\fINUMBER\fR]
24+
.It Fl j , Fl -jobs Ar num_jobs
3725
Specifies the maximum number of tasks to execute in parallel (default is number of CPU cores + 4).
38-
39-
.SS Modules
40-
.TP
41-
\fB\-I\fR, \fB\-\-libdir\fR \fILIBDIR\fR
42-
Include \fILIBDIR\fR in the search path for required modules.
43-
.TP
44-
\fB\-r\fR, \fB\-\-require\fR \fIMODULE\fR
45-
Require \fIMODULE\fR before executing rakefile.
46-
47-
.SS Rakefile location
48-
.TP
49-
\fB\-f\fR, \fB\-\-rakefile\fR [\fIFILENAME\fR]
50-
Use \fIFILENAME\fR as the rakefile to search for.
51-
.TP
52-
\fB\-N\fR, \fB\-\-no\-search\fR, \fB\-\-nosearch\fR
26+
.El
27+
.Ss Modules
28+
.Bl -tag -width Ds
29+
.It Fl I , Fl -libdir Ar libdir
30+
Include
31+
.Ar libdir
32+
in the search path for required modules.
33+
.It Fl r , Fl -require Ar module
34+
Require
35+
.Ar module
36+
before executing
37+
.Pa rakefile .
38+
.El
39+
.Ss Rakefile location
40+
.Bl -tag -width Ds
41+
.It Fl f , Fl -rakefile Ar filename
42+
Use
43+
.Ar filename
44+
as the rakefile to search for.
45+
.It Fl N , Fl -no-search , Fl -nosearch
5346
Do not search parent directories for the Rakefile.
54-
.TP
55-
\fB\-G\fR, \fB\-\-no\-system\fR, \fB\-\-nosystem\fR
47+
.It Fl G , Fl -no-system , Fl -nosystem
5648
Use standard project Rakefile search paths, ignore system wide rakefiles.
57-
.TP
58-
\fB\-R\fR, \fB\-\-rakelibdir\fR \fIRAKELIBDIR\fR
59-
Auto\-import any .rake files in \fIRAKELIBDIR\fR (default is 'rakelib')
60-
.HP
61-
\fB\-\-rakelib\fR
62-
.TP
63-
\fB\-g\fR, \fB\-\-system\fR
64-
Using system wide (global) rakefiles (usually '\fI~/.rake/*.rake\fR').
65-
66-
.SS Debugging
67-
.TP
68-
\fB\-\-backtrace\fR=\fI\,[OUT]\/\fR
69-
Enable full backtrace. \fIOUT\fR can be stderr (default) or stdout.
70-
.TP
71-
\fB\-t\fR, \fB\-\-trace\fR=\fI\,[OUT]\/\fR
72-
Turn on invoke/execute tracing, enable full backtrace. \fIOUT\fR can be stderr (default) or stdout.
73-
.TP
74-
\fB\-\-suppress\-backtrace\fR \fIPATTERN\fR
75-
Suppress backtrace lines matching regexp \fIPATTERN\fR. Ignored if \fI\-\-trace\fR is on.
76-
.TP
77-
\fB\-\-rules\fR
49+
.It Fl R , Fl -rakelib Ar rakelibdir , Fl -rakelibdir Ar rakelibdir
50+
Auto-import any .rake files in
51+
.Ar rakelibdir
52+
(default is
53+
.Sq rakelib )
54+
.It Fl g , Fl -system
55+
Use system-wide (global) rakefiles (usually
56+
.Pa ~/.rake/*.rake ) .
57+
.El
58+
.Ss Debugging
59+
.Bl -tag -width Ds
60+
.It Fl -backtrace Ns = Ns Ar out
61+
Enable full backtrace.
62+
.Ar out
63+
can be
64+
.Dv stderr
65+
(default) or
66+
.Dv stdout .
67+
.It Fl t , Fl -trace Ns = Ns Ar out
68+
Turn on invoke/execute tracing, enable full backtrace.
69+
.Ar out
70+
can be
71+
.Dv stderr
72+
(default) or
73+
.Dv stdout .
74+
.It Fl -suppress-backtrace Ar pattern
75+
Suppress backtrace lines matching regexp
76+
.Ar pattern .
77+
Ignored if
78+
.Fl -trace
79+
is on.
80+
.It Fl -rules
7881
Trace the rules resolution.
79-
80-
.TP
81-
\fB\-n\fR, \fB\-\-dry\-run\fR
82+
.It Fl n , Fl -dry-run
8283
Do a dry run without executing actions.
83-
.TP
84-
\fB\-T\fR, \fB\-\-tasks\fR [\fIPATTERN\fR]
85-
Display the tasks (matching optional \fIPATTERN\fR) with descriptions, then exit.
86-
.TP
87-
\fB\-D\fR, \fB\-\-describe\fR [\fIPATTERN\fR]
88-
Describe the tasks (matching optional \fIPATTERN\fR), then exit.
89-
.TP
90-
\fB\-W\fR, \fB\-\-where\fR [\fIPATTERN\fR]
91-
Describe the tasks (matching optional \fIPATTERN\fR), then exit.
92-
.TP
93-
\fB\-P\fR, \fB\-\-prereqs\fR
84+
.It Fl T , Fl -tasks Op Ar pattern
85+
Display the tasks (matching optional
86+
.Ar pattern )
87+
with descriptions, then exit.
88+
.It Fl D , Fl -describe Op Ar pattern
89+
Describe the tasks (matching optional
90+
.Ar pattern ) ,
91+
then exit.
92+
.It Fl W , Fl -where Op Ar pattern
93+
Describe the tasks (matching optional
94+
.Ar pattern ) ,
95+
then exit.
96+
.It Fl P , Fl -prereqs
9497
Display the tasks and dependencies, then exit.
95-
96-
.TP
97-
\fB\-e\fR, \fB\-\-execute\fR \fICODE\fR
98+
.It Fl e , Fl -execute Ar code
9899
Execute some Ruby code and exit.
99-
.TP
100-
\fB\-p\fR, \fB\-\-execute\-print\fR \fICODE\fR
100+
.It Fl p , Fl -execute-print Ar code
101101
Execute some Ruby code, print the result, then exit.
102-
.TP
103-
\fB\-E\fR, \fB\-\-execute\-continue\fR \fICODE\fR
102+
.It Fl E , Fl -execute-continue Ar code
104103
Execute some Ruby code, then continue with normal task processing.
105-
106-
.SS Information
107-
.TP
108-
\fB\-v\fR, \fB\-\-verbose\fR
104+
.El
105+
.Ss Information
106+
.Bl -tag -width Ds
107+
.It Fl v , Fl -verbose
109108
Log message to standard output.
110-
.TP
111-
\fB\-q\fR, \fB\-\-quiet\fR
109+
.It Fl q , Fl -quiet
112110
Do not log messages to standard output.
113-
.TP
114-
\fB\-s\fR, \fB\-\-silent\fR
115-
Like \fB\-\-quiet\fR, but also suppresses the 'in directory' announcement.
116-
.TP
117-
\fB\-X\fR, \fB\-\-no\-deprecation\-warnings\fR
111+
.It Fl s , Fl -silent
112+
Like
113+
.Fl -quiet ,
114+
but also suppresses the
115+
.Sq in directory
116+
announcement.
117+
.It Fl X , Fl -no-deprecation-warnings
118118
Disable the deprecation warnings.
119-
.TP
120-
\fB\-\-comments\fR
119+
.It Fl -comments
121120
Show commented tasks only
122-
.TP
123-
\fB\-A\fR, \fB\-\-all\fR
124-
Show all tasks, even uncommented ones (in combination with \fB\-T\fR or \fB\-D\fR)
125-
.TP
126-
\fB\-\-job\-stats\fR [\fILEVEL\fR]
127-
Display job statistics. \fILEVEL=history\fR displays a complete job list
128-
.TP
129-
\fB\-V\fR, \fB\-\-version\fR
121+
.It Fl A , Fl -all
122+
Show all tasks, even uncommented ones (in combination with
123+
.Fl T
124+
or
125+
.Fl D )
126+
.It Fl -job-stats Op Ar level
127+
Display job statistics.
128+
If
129+
.Ar level
130+
is
131+
.Sq history ,
132+
displays a complete job list.
133+
.It Fl V , Fl -version
130134
Display the program version.
131-
.TP
132-
\fB\-h\fR, \fB\-H\fR, \fB\-\-help\fR
135+
.It Fl h , Fl H , Fl -help
133136
Display a help message.
134-
135-
.SH SEE ALSO
136-
The complete documentation for \fBrake\fR has been installed at \fI/usr/share/doc/rake-doc/html/index.html\fR. It is also available online at \fIhttp://docs.seattlerb.org/rake\fR.
137-
.SH AUTHOR
138-
.B rake
139-
was written by Jim Weirich <[email protected]>
140-
.PP
141-
This manual was created by Caitlin Matos <[email protected]> for the Debian project (but may be used by others). It was inspired by the manual by Jani Monoses <[email protected]> for the Ubuntu project.
137+
.El
138+
.Sh SEE ALSO
139+
The complete documentation for
140+
.Nm rake
141+
has been installed at
142+
.Pa /usr/share/doc/rake-doc/html/index.html .
143+
It is also available online at
144+
.Lk http://docs.seattlerb.org/rake .
145+
.Sh AUTHORS
146+
.An -nosplit
147+
.Nm
148+
was written by
149+
.An Jim Weirich Aq Mt [email protected] .
150+
.Pp
151+
This manual was created by
152+
.An Caitlin Matos Aq Mt [email protected]
153+
for the Debian project (but may be used by others).
154+
It was inspired by the manual by
155+
.An Jani Monoses Aq Mt [email protected]
156+
for the Ubuntu project.

0 commit comments

Comments
 (0)