]> git.uio.no Git - u/mrichter/AliRoot.git/blame - man/man4/mangen.4
New files for folders and Stack
[u/mrichter/AliRoot.git] / man / man4 / mangen.4
CommitLineData
9e1a0ddb 1.TH mangen 4 "" "ALICE Reference Manual"
2.ad b
3.SH NAME
4mangen - generate manual entries for library
5.SH SYNOPSIS
6mangen [-d] [-n] [-l] chapter file
7
8.SH DESCRIPTION
9generates: <name>.<chapter#> (manual entry for module)
10and if "-l": <name>.<chapter#+1> (manual entries for each routine)
11
12where <name> is the "root" of the "tail" of the specified file
13(i.e. if file="/usr/dave/gronk.c", then name="gronk");
14and <chapter#> is the single digit chapter number
15(i.e. just the specified chapter number if one was given,
16or the number from the table below if a chapter name was given).
17
18<chapter> can be any digit or any of the following chapter abbreviations:
19
20 # abbr name what
21 = ==== =========== ====================================
22 0 con*
23 over* conventions - conventions and overview material
24 1 lib* libraries - subroutine library summaries
25 2 routines - individual library routines
26 3 task*
27 tsk*
28 dr* drivers - tasks and drivers
29 4 tool* tools - Unix development/maintenence tools
30
31.SH NOTE
32Specifying the chapter as "lib" automatically selects the -l option.
33
34"-l" flag causes a special library module style manual entry to be created.
35The manual entry for a library has a specially constructed synopsis section
36that contains the titles and calling sequence of each routine in the library.
37Also a seperate manual entry is generated for each of the routines in the
38library. These routine manual entries will be put in a file named libxxx.2.
39
40"-d" flag causes the intermediate nroff source files to NOT be deleted.
41These are called "mg.out" and "mgr.out" for the module manual entry
42and individual routine entries (only if -l option specified), respectively.
43This option is useful for debugging manual entries that don't look the
44way you expected.
45
46"-n" flag causes nroff sources not to be deleted, and not to be nroffed
47either. In this case, "mg.out" (and "mgr.out") will be the ONLY output
48from mangen.
49
50.SH EXAMPLE
51 % mangen lib /usr/vw/lib/lstlib.c
52will create "lstlib.1" and "liblst.2" in the current directory.