diff options
author | wiz <wiz@pkgsrc.org> | 2006-08-12 21:29:40 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-08-12 21:29:40 +0000 |
commit | a2a32d1c6411eab976c2b8a10ed20abc7172edc4 (patch) | |
tree | 1a609ee478d8c4224b8ab52c3d2ef664db586a8d /doc | |
parent | 46f723a7281efd5b362e18c67dfa79c5032598f2 (diff) | |
download | pkgsrc-a2a32d1c6411eab976c2b8a10ed20abc7172edc4.tar.gz |
Be more explicit about where devhelp can find its files.
Document that we prefer share/doc/${PKGNAME} for docs.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guide/files/fixes.xml | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/doc/guide/files/fixes.xml b/doc/guide/files/fixes.xml index b5b29332dfc..b1e99f886c9 100644 --- a/doc/guide/files/fixes.xml +++ b/doc/guide/files/fixes.xml @@ -1,4 +1,4 @@ -<!-- $NetBSD: fixes.xml,v 1.67 2006/08/11 13:19:38 wiz Exp $ --> +<!-- $NetBSD: fixes.xml,v 1.68 2006/08/12 21:29:40 wiz Exp $ --> <chapter id="fixes"> <?dbhtml filename="fixes.html"?> <title>Making your package work</title> @@ -1103,12 +1103,15 @@ Changes to the PLIST <para>In general, documentation should be installed into <filename>${PREFIX}/share/doc/${PKGBASE}</filename> or - <filename>${PREFIX}/share/doc/${PKGNAME}</filename> (the latter - includes the version number of the package).</para> + <filename>${PREFIX}/share/doc/${PKGNAME}</filename> (the + latter includes the version number of the package).</para> - <para>Many modern packages using GNU autoconf allow to set the directory - where HTML documentation is installed with the <quote>--with-html-dir</quote> - option.</para> + <para>Many modern packages using GNU autoconf allow to set the + directory where HTML documentation is installed with the + <quote>--with-html-dir</quote> option. Sometimes using this + flag is needed because otherwise the documentation ends up in + <filename>${PREFIX}/share/doc/html</filename> or other + places.</para> <para>An exception to the above is that library API documentation generated with the <filename @@ -1120,8 +1123,15 @@ Changes to the PLIST <filename>.devhelp</filename> or <filename>.devhelp2</filename>. (It is also acceptable to install such files in - <filename>${PREFIX}/share/doc</filename>; no additional - subdirectory level is allowed in this case.)</para> + <filename>${PREFIX}/share/doc/${PKGBASE}</filename> or + <filename>${PREFIX}/share/doc/${PKGNAME}</filename>; the + <filename>.devhelp*</filename> file must be directly in that + directory then, no additional + subdirectory level is allowed in this case. This is usually + achieved by using + <quote>--with-html-dir=${PREFIX}/share/doc</quote>. + <filename>${PREFIX}/share/gtk-doc</filename> is preferred + though.)</para> </sect2> |