This section contains information on editing the pkgsrc guide itself.
The pkgsrc guide's source code is stored in
pkgsrc/doc/guide/files, and several files
are created from it:
The procedure to edit the pkgsrc guide is:
Make sure you have the packages needed to
regenerate the pkgsrc guide (and other XML-based NetBSD
documentation) installed. These are automatically installed when
you install the
Run cd doc/guide to get to the right directory. All further steps will take place here.
Edit the XML file(s) in
Run bmake to check the pkgsrc
guide for valid XML and to build the final output files. If you
get any errors at this stage, you can just edit the files, as
there are only symbolic links in the working directory, pointing
to the files in
(cd files && cvs commit)
Run bmake clean && bmake to regenerate the output files with the proper RCS Ids.
Run bmake regen to install and
commit the files in both
If you have added, removed or renamed some chapters, you need to synchronize them using cvs add or cvs delete in the htdocs directory.