Chapter 8. The Documentation Build Process

Table of Contents
8.1. The FreeBSD Documentation Build Toolset
8.2. Understanding Makefiles in the Documentation Tree
8.3. FreeBSD Documentation Project Make Includes

This chapter's main purpose is to clearly explain how the documentation build process is organized, and how to affect modifications to this process.

After you have finished reading this chapter you should:

8.1. The FreeBSD Documentation Build Toolset

Here are your tools. Use them every way you can.

  • The primary build tool you will need is make, but specifically Berkeley Make.

  • Package building is handled by FreeBSD's pkg_create. If you are not using FreeBSD, you will either have to live without packages, or compile the source yourself.

  • gzip is needed to create compressed versions of the document. bzip2 compression and zip archives are also supported. tar is supported, but package building demands it.

  • install is the default method to install the documentation. There are alternatives, however.

Note:

It is unlikely you will have any trouble finding these last two, they are mentioned for completeness only.

This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.

For questions about this documentation, e-mail <doc@FreeBSD.org>.