aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man-exp.xml
blob: 00c41e2ae2c0defc5fa3845b1b3bc574affd2414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<sect2>
<title>Command explanations</title>

<para><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default</userinput>:
The paths to some programs get written into man's files. Unfortunately, the
configure script picks the last location in PATH rather than the first
where a program is found. By appending /usr/bin:/bin to PATH for the
./configure command, we make sure that man doesn't use the /static versions
of our programs.</para>

<para><userinput>sed -e '/^NROFF/s/-mandoc/-c -mandoc/'</userinput>:
This prevents groff from using SGR (Set Graphics Rendition) escape
sequences on our man pages.</para>

</sect2>