doc/guide: add chapters for getting helpdiff -r1.17 -r1.18 pkgsrc/doc/guide/files/Makefile
(rillig)
@@ -1,39 +1,41 @@ | @@ -1,39 +1,41 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2016/06/11 18:14:42 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2019/04/28 13:41:18 rillig Exp $ | |
2 | 2 | |||
3 | WEB_PREFIX?= ${.CURDIR}/../htdocs | 3 | WEB_PREFIX?= ${.CURDIR}/../htdocs | |
4 | DBX_XML_CATALOG?= ${SGML_PREFIX}/docbook/4.5/catalog.xml | 4 | DBX_XML_CATALOG?= ${SGML_PREFIX}/docbook/4.5/catalog.xml | |
5 | DBX_XML_DTD?= ${XML_PREFIX}/docbook/4.5/docbookx.dtd | 5 | DBX_XML_DTD?= ${XML_PREFIX}/docbook/4.5/docbookx.dtd | |
6 | DBX_SGML_CATALOG?= ${SGML_PREFIX}/docbook/4.5/catalog | 6 | DBX_SGML_CATALOG?= ${SGML_PREFIX}/docbook/4.5/catalog | |
7 | 7 | |||
8 | DOC= pkgsrc | 8 | DOC= pkgsrc | |
9 | 9 | |||
10 | SRCS= pkgsrc.xml | 10 | SRCS= pkgsrc.xml | |
11 | SRCS+= binary.xml | 11 | SRCS+= binary.xml | |
12 | SRCS+= build.xml | 12 | SRCS+= build.xml | |
13 | SRCS+= buildlink.xml | 13 | SRCS+= buildlink.xml | |
14 | SRCS+= bulk.xml | 14 | SRCS+= bulk.xml | |
15 | SRCS+= creating.xml | 15 | SRCS+= creating.xml | |
16 | SRCS+= components.xml | 16 | SRCS+= components.xml | |
17 | SRCS+= configuring.xml | 17 | SRCS+= configuring.xml | |
18 | SRCS+= debug.xml | 18 | SRCS+= debug.xml | |
19 | SRCS+= devfaq.xml | 19 | SRCS+= devfaq.xml | |
20 | SRCS+= editing.xml | 20 | SRCS+= editing.xml | |
21 | SRCS+= examples.xml | 21 | SRCS+= examples.xml | |
22 | SRCS+= faq.xml | 22 | SRCS+= faq.xml | |
23 | SRCS+= files.xml | 23 | SRCS+= files.xml | |
24 | SRCS+= fixes.xml | 24 | SRCS+= fixes.xml | |
25 | SRCS+= ftp-layout.xml | 25 | SRCS+= ftp-layout.xml | |
26 | SRCS+= getting.xml | 26 | SRCS+= getting.xml | |
27 | SRCS+= help-devel.xml | |||
28 | SRCS+= help-user.xml | |||
27 | SRCS+= infr.design.xml | 29 | SRCS+= infr.design.xml | |
28 | SRCS+= introduction.xml | 30 | SRCS+= introduction.xml | |
29 | SRCS+= logs.xml | 31 | SRCS+= logs.xml | |
30 | SRCS+= makefile.xml | 32 | SRCS+= makefile.xml | |
31 | SRCS+= options.xml | 33 | SRCS+= options.xml | |
32 | SRCS+= pkginstall.xml | 34 | SRCS+= pkginstall.xml | |
33 | SRCS+= platforms.xml | 35 | SRCS+= platforms.xml | |
34 | SRCS+= plist.xml | 36 | SRCS+= plist.xml | |
35 | SRCS+= porting.xml | 37 | SRCS+= porting.xml | |
36 | SRCS+= regression.xml | 38 | SRCS+= regression.xml | |
37 | SRCS+= submit.xml | 39 | SRCS+= submit.xml | |
38 | SRCS+= tools.xml | 40 | SRCS+= tools.xml | |
39 | SRCS+= using.xml | 41 | SRCS+= using.xml |
@@ -1,32 +1,34 @@ | @@ -1,32 +1,34 @@ | |||
1 | <!-- | 1 | <!-- | |
2 | Creates entities for each chapter in the pkgsrc book. | 2 | Creates entities for each chapter in the pkgsrc book. | |
3 | 3 | |||
4 | $NetBSD: chapters.ent,v 1.17 2007/09/18 08:17:21 rillig Exp $ | 4 | $NetBSD: chapters.ent,v 1.18 2019/04/28 13:41:18 rillig Exp $ | |
5 | --> | 5 | --> | |
6 | 6 | |||
7 | <!ENTITY chap.intro SYSTEM "introduction.xml"> | 7 | <!ENTITY chap.intro SYSTEM "introduction.xml"> | |
8 | 8 | |||
9 | <!-- user's guide --> | 9 | <!-- user's guide --> | |
10 | <!ENTITY chap.help-user SYSTEM "help-user.xml"> | |||
10 | <!ENTITY chap.getting SYSTEM "getting.xml"> | 11 | <!ENTITY chap.getting SYSTEM "getting.xml"> | |
11 | <!ENTITY chap.platform SYSTEM "platforms.xml"> | 12 | <!ENTITY chap.platform SYSTEM "platforms.xml"> | |
12 | <!ENTITY chap.using SYSTEM "using.xml"> | 13 | <!ENTITY chap.using SYSTEM "using.xml"> | |
13 | <!ENTITY chap.configuring SYSTEM "configuring.xml"> | 14 | <!ENTITY chap.configuring SYSTEM "configuring.xml"> | |
14 | <!ENTITY chap.binary SYSTEM "binary.xml"> | 15 | <!ENTITY chap.binary SYSTEM "binary.xml"> | |
15 | <!ENTITY chap.bulk SYSTEM "bulk.xml"> | 16 | <!ENTITY chap.bulk SYSTEM "bulk.xml"> | |
16 | <!ENTITY chap.files SYSTEM "files.xml"> | 17 | <!ENTITY chap.files SYSTEM "files.xml"> | |
17 | <!ENTITY chap.faq SYSTEM "faq.xml"> | 18 | <!ENTITY chap.faq SYSTEM "faq.xml"> | |
18 | 19 | |||
19 | <!-- developer's guide --> | 20 | <!-- developer's guide --> | |
21 | <!ENTITY chap.help-devel SYSTEM "help-devel.xml"> | |||
20 | <!ENTITY chap.creating SYSTEM "creating.xml"> | 22 | <!ENTITY chap.creating SYSTEM "creating.xml"> | |
21 | <!ENTITY chap.components SYSTEM "components.xml"> | 23 | <!ENTITY chap.components SYSTEM "components.xml"> | |
22 | <!ENTITY chap.makefile SYSTEM "makefile.xml"> | 24 | <!ENTITY chap.makefile SYSTEM "makefile.xml"> | |
23 | <!ENTITY chap.plist SYSTEM "plist.xml"> | 25 | <!ENTITY chap.plist SYSTEM "plist.xml"> | |
24 | <!ENTITY chap.buildlink SYSTEM "buildlink.xml"> | 26 | <!ENTITY chap.buildlink SYSTEM "buildlink.xml"> | |
25 | <!ENTITY chap.pkginstall SYSTEM "pkginstall.xml"> | 27 | <!ENTITY chap.pkginstall SYSTEM "pkginstall.xml"> | |
26 | <!ENTITY chap.options SYSTEM "options.xml"> | 28 | <!ENTITY chap.options SYSTEM "options.xml"> | |
27 | <!ENTITY chap.build SYSTEM "build.xml"> | 29 | <!ENTITY chap.build SYSTEM "build.xml"> | |
28 | <!ENTITY chap.tools SYSTEM "tools.xml"> | 30 | <!ENTITY chap.tools SYSTEM "tools.xml"> | |
29 | <!ENTITY chap.fixes SYSTEM "fixes.xml"> | 31 | <!ENTITY chap.fixes SYSTEM "fixes.xml"> | |
30 | <!ENTITY chap.debug SYSTEM "debug.xml"> | 32 | <!ENTITY chap.debug SYSTEM "debug.xml"> | |
31 | <!ENTITY chap.submit SYSTEM "submit.xml"> | 33 | <!ENTITY chap.submit SYSTEM "submit.xml"> | |
32 | <!ENTITY chap.devfaq SYSTEM "devfaq.xml"> | 34 | <!ENTITY chap.devfaq SYSTEM "devfaq.xml"> |
<!-- $NetBSD: help-devel.xml,v 1.1 2019/04/28 13:41:18 rillig Exp $ -->
<chapter id="help-devel">
<title>Getting help</title>
<para>
To get help when developing pkgsrc, the definitive source is this
document, the pkgsrc guide. If you don't find anything here,
there are alternatives:
</para>
<itemizedlist>
<listitem><para>
The built-in pkgsrc help, which is available after bootstrapping
pkgsrc. Run <command>bmake help topic=…</command> to get
help for any topic, such as a variable name like
<varname>BUILD_DEFS</varname>, a make target like
<command>do-build</command>, a missing C or C++ function like
<command>strcasecmp</command> or any other topic.</para>
</listitem>
<listitem><para>
The tech-pkg mailing list, to which
<ulink url="https://www.NetBSD.org/mailinglists/#tech-pkg">you
can subscribe</ulink> and then <ulink
url="mailto:tech-pkg@NetBSD.org">ask your
questions</ulink>.</para>
</listitem>
<listitem><para>The #pkgsrc IRC channel, which is accessible
<ulink url="https://webchat.freenode.net/">via a web browser</ulink>
or by using a specialized chat program such as
<ulink url="http://xchat.org/">XChat</ulink>.
Pick any user name and join the channel #pkgsrc.</para>
</listitem>
</itemizedlist>
</chapter>
<!-- $NetBSD: help-user.xml,v 1.1 2019/04/28 13:41:18 rillig Exp $ -->
<chapter id="help-user">
<title>Getting help</title>
<para>
To get help when using pkgsrc, the definitive source is this
document, the pkgsrc guide. If you don't find anything here,
there are alternatives:
</para>
<itemizedlist>
<listitem><para>
The pkgsrc-users mailing list, to which
<ulink url="https://www.NetBSD.org/mailinglists/#pkgsrc-users">you
can subscribe</ulink> and then <ulink
url="mailto:pkgsrc-users@NetBSD.org">ask your
questions</ulink>.</para>
</listitem>
<listitem><para>The #pkgsrc IRC channel, which is accessible
<ulink url="https://webchat.freenode.net/">via a web browser</ulink>
or by using a specialized chat program such as
<ulink url="http://xchat.org/">XChat</ulink>.
Pick any user name and join the channel #pkgsrc.</para>
</listitem>
</itemizedlist>
</chapter>
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> | |
2 | <!-- $NetBSD: pkgsrc.xml,v 1.33 2019/01/01 02:50:23 jnemeth Exp $ --> | 2 | <!-- $NetBSD: pkgsrc.xml,v 1.34 2019/04/28 13:41:18 rillig Exp $ --> | |
3 | 3 | |||
4 | <!DOCTYPE book PUBLIC "-//NetBSD//DTD DocBook XML V4.5-Based DocBook Extension//EN" [ | 4 | <!DOCTYPE book PUBLIC "-//NetBSD//DTD DocBook XML V4.5-Based DocBook Extension//EN" [ | |
5 | 5 | |||
6 | <!ENTITY % man-refs.ent PUBLIC "-//NetBSD//ENTITIES NetBSD Manual Page Entities//EN"> | 6 | <!ENTITY % man-refs.ent PUBLIC "-//NetBSD//ENTITIES NetBSD Manual Page Entities//EN"> | |
7 | %man-refs.ent; | 7 | %man-refs.ent; | |
8 | <!ENTITY % misc.ent PUBLIC "-//NetBSD//ENTITIES NetBSD Miscellaneous Entities//EN"> | 8 | <!ENTITY % misc.ent PUBLIC "-//NetBSD//ENTITIES NetBSD Miscellaneous Entities//EN"> | |
9 | %misc.ent; | 9 | %misc.ent; | |
10 | <!ENTITY % chapters SYSTEM "chapters.ent"> | 10 | <!ENTITY % chapters SYSTEM "chapters.ent"> | |
11 | %chapters; | 11 | %chapters; | |
12 | <!ENTITY % entities SYSTEM "pkgsrc.ent"> | 12 | <!ENTITY % entities SYSTEM "pkgsrc.ent"> | |
13 | %entities; | 13 | %entities; | |
14 | ]> | 14 | ]> | |
15 | 15 | |||
@@ -37,63 +37,65 @@ | @@ -37,63 +37,65 @@ | |||
37 | </affiliation> | 37 | </affiliation> | |
38 | </author> | 38 | </author> | |
39 | <corpauthor> | 39 | <corpauthor> | |
40 | The pkgsrc Developers | 40 | The pkgsrc Developers | |
41 | </corpauthor> | 41 | </corpauthor> | |
42 | </authorgroup> | 42 | </authorgroup> | |
43 | 43 | |||
44 | <copyright> | 44 | <copyright> | |
45 | <year>1994-2019</year> | 45 | <year>1994-2019</year> | |
46 | 46 | |||
47 | <holder role="mailto:www@NetBSD.org">The NetBSD Foundation, Inc</holder> | 47 | <holder role="mailto:www@NetBSD.org">The NetBSD Foundation, Inc</holder> | |
48 | </copyright> | 48 | </copyright> | |
49 | 49 | |||
50 | <pubdate>$NetBSD: pkgsrc.xml,v 1.33 2019/01/01 02:50:23 jnemeth Exp $</pubdate> | 50 | <pubdate>$NetBSD: pkgsrc.xml,v 1.34 2019/04/28 13:41:18 rillig Exp $</pubdate> | |
51 | 51 | |||
52 | <abstract> | 52 | <abstract> | |
53 | 53 | |||
54 | <para>pkgsrc is a centralized package management system for | 54 | <para>pkgsrc is a centralized package management system for | |
55 | Unix-like operating systems. This guide provides information for | 55 | Unix-like operating systems. This guide provides information for | |
56 | users and developers of pkgsrc. It covers installation of binary | 56 | users and developers of pkgsrc. It covers installation of binary | |
57 | and source packages, creation of binary and source packages and | 57 | and source packages, creation of binary and source packages and | |
58 | a high-level overview about the infrastructure.</para> | 58 | a high-level overview about the infrastructure.</para> | |
59 | 59 | |||
60 | </abstract> | 60 | </abstract> | |
61 | </bookinfo> | 61 | </bookinfo> | |
62 | 62 | |||
63 | &chap.intro; | 63 | &chap.intro; | |
64 | 64 | |||
65 | <part id="users-guide"> <?dbhtml filename="users-guide.html"?> | 65 | <part id="users-guide"> <?dbhtml filename="users-guide.html"?> | |
66 | <title id="users-guide.title">The pkgsrc user's guide</title> | 66 | <title id="users-guide.title">The pkgsrc user's guide</title> | |
67 | 67 | |||
68 | &chap.help-user; | |||
68 | &chap.getting; | 69 | &chap.getting; | |
69 | &chap.platform; | 70 | &chap.platform; | |
70 | &chap.using; | 71 | &chap.using; | |
71 | &chap.configuring; | 72 | &chap.configuring; | |
72 | &chap.binary; | 73 | &chap.binary; | |
73 | &chap.bulk; | 74 | &chap.bulk; | |
74 | &chap.files; | 75 | &chap.files; | |
75 | &chap.faq; | 76 | &chap.faq; | |
76 | </part> | 77 | </part> | |
77 | 78 | |||
78 | <!-- "part II" (we need to rid the documentation of this reference) --> | 79 | <!-- "part II" (we need to rid the documentation of this reference) --> | |
79 | <part id="developers-guide"> <?dbhtml filename="developers-guide.html"?> | 80 | <part id="developers-guide"> <?dbhtml filename="developers-guide.html"?> | |
80 | <title id="developers-guide.title">The pkgsrc developer's guide</title> | 81 | <title id="developers-guide.title">The pkgsrc developer's guide</title> | |
81 | 82 | |||
82 | <partintro><para>This part of the book deals with creating and | 83 | <partintro><para>This part of the book deals with creating and | |
83 | modifying packages. It starts with a <quote>HOWTO</quote>-like | 84 | modifying packages. It starts with a <quote>HOWTO</quote>-like | |
84 | guide on creating a new package. The remaining chapters are more | 85 | guide on creating a new package. The remaining chapters are more | |
85 | like a reference manual for pkgsrc.</para></partintro> | 86 | like a reference manual for pkgsrc.</para></partintro> | |
86 | 87 | |||
88 | &chap.help-devel; | |||
87 | &chap.creating; | 89 | &chap.creating; | |
88 | &chap.components; | 90 | &chap.components; | |
89 | &chap.makefile; | 91 | &chap.makefile; | |
90 | &chap.plist; | 92 | &chap.plist; | |
91 | &chap.buildlink; | 93 | &chap.buildlink; | |
92 | &chap.pkginstall; | 94 | &chap.pkginstall; | |
93 | &chap.options; | 95 | &chap.options; | |
94 | &chap.build; | 96 | &chap.build; | |
95 | &chap.tools; | 97 | &chap.tools; | |
96 | &chap.fixes; | 98 | &chap.fixes; | |
97 | &chap.debug; | 99 | &chap.debug; | |
98 | &chap.submit; | 100 | &chap.submit; | |
99 | &chap.devfaq; | 101 | &chap.devfaq; |