version 1.13, 2015/11/07 14:01:16 |
version 1.15.2.1, 2017/02/21 16:25:19 |
Line 16 tech@ mailing list, too. |
|
Line 16 tech@ mailing list, too. |
|
|
|
Enjoy using the mandoc toolset! |
Enjoy using the mandoc toolset! |
|
|
Ingo Schwarze, Karlsruhe, March 2015 |
Ingo Schwarze, Karlsruhe, February 2017 |
|
|
|
|
Installation |
Installation |
Line 31 Regarding how packages and ports are maintained for yo |
|
Line 31 Regarding how packages and ports are maintained for yo |
|
system, please consult your operating system documentation. |
system, please consult your operating system documentation. |
To install mandoc manually, the following steps are needed: |
To install mandoc manually, the following steps are needed: |
|
|
1. If you want to build the CGI program, man.cgi(8), too, run the |
1. If you want to build the CGI program, man.cgi(8), too, |
command "echo BUILD_CGI=1 > configure.local". Then run "cp |
run the command "echo BUILD_CGI=1 > configure.local". |
cgi.h.examples cgi.h" and edit cgi.h as desired. |
Then run "cp cgi.h.examples cgi.h" and edit cgi.h as desired. |
|
|
2. Run "./configure". |
2. Run "./configure". |
This script attempts autoconfiguration of mandoc for your system. |
This script attempts autoconfiguration of mandoc for your system. |
Line 52 and go back to step 2. |
|
Line 52 and go back to step 2. |
|
|
|
4. Run "make -n install" and check whether everything will be |
4. Run "make -n install" and check whether everything will be |
installed to the intended places. Otherwise, put some *DIR or *NM* |
installed to the intended places. Otherwise, put some *DIR or *NM* |
variables into "configure.local" and go back to step 2. |
variables into "configure.local" and go back to step 2. |
|
|
5. Run "sudo make install". If you intend to build a binary |
5. Run "sudo make install". If you intend to build a binary |
package using some kind of fake root mechanism, you may need a |
package using some kind of fake root mechanism, you may need a |
Line 63 in the "Makefile" to understand how DESTDIR is used. |
|
Line 63 in the "Makefile" to understand how DESTDIR is used. |
|
manpath(1), make sure it is configured correctly, in particular, |
manpath(1), make sure it is configured correctly, in particular, |
it returns all directory trees where manual pages are installed. |
it returns all directory trees where manual pages are installed. |
Otherwise, if your system uses man.conf(5), make sure it contains |
Otherwise, if your system uses man.conf(5), make sure it contains |
a "_whatdb" line for each directory tree, and the order of these |
a "manpath" line for each directory tree, and the order of these |
lines meets your wishes. |
lines meets your wishes. |
|
|
7. If you compiled with database support, run the command "sudo |
7. If you compiled with database support, run the command "sudo |