From c912c9236bd77692247b6802b40f37ef9641936f Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 28 Apr 2019 13:41:18 +0000 Subject: [PATCH] doc/guide: add chapters for getting help --- doc/guide/files/Makefile | 4 +++- doc/guide/files/chapters.ent | 4 +++- doc/guide/files/help-devel.xml | 38 ++++++++++++++++++++++++++++++++++ doc/guide/files/help-user.xml | 29 ++++++++++++++++++++++++++ doc/guide/files/pkgsrc.xml | 6 ++++-- 5 files changed, 77 insertions(+), 4 deletions(-) create mode 100644 doc/guide/files/help-devel.xml create mode 100644 doc/guide/files/help-user.xml diff --git a/doc/guide/files/Makefile b/doc/guide/files/Makefile index 2ccf735abc4b..a0f9126f8c00 100644 --- a/doc/guide/files/Makefile +++ b/doc/guide/files/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2016/06/11 18:14:42 rillig Exp $ +# $NetBSD: Makefile,v 1.18 2019/04/28 13:41:18 rillig Exp $ WEB_PREFIX?= ${.CURDIR}/../htdocs DBX_XML_CATALOG?= ${SGML_PREFIX}/docbook/4.5/catalog.xml @@ -24,6 +24,8 @@ SRCS+= files.xml SRCS+= fixes.xml SRCS+= ftp-layout.xml SRCS+= getting.xml +SRCS+= help-devel.xml +SRCS+= help-user.xml SRCS+= infr.design.xml SRCS+= introduction.xml SRCS+= logs.xml diff --git a/doc/guide/files/chapters.ent b/doc/guide/files/chapters.ent index 3827739df8cc..ea1a4df7343f 100644 --- a/doc/guide/files/chapters.ent +++ b/doc/guide/files/chapters.ent @@ -1,12 +1,13 @@ + @@ -17,6 +18,7 @@ + diff --git a/doc/guide/files/help-devel.xml b/doc/guide/files/help-devel.xml new file mode 100644 index 000000000000..e1e685f332fb --- /dev/null +++ b/doc/guide/files/help-devel.xml @@ -0,0 +1,38 @@ + + + +Getting help + + + 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: + + + + + The built-in pkgsrc help, which is available after bootstrapping + pkgsrc. Run bmake help topic=… to get + help for any topic, such as a variable name like + BUILD_DEFS, a make target like + do-build, a missing C or C++ function like + strcasecmp or any other topic. + + + + The tech-pkg mailing list, to which + you + can subscribe and then ask your + questions. + + +The #pkgsrc IRC channel, which is accessible + via a web browser + or by using a specialized chat program such as + XChat. + Pick any user name and join the channel #pkgsrc. + + + + diff --git a/doc/guide/files/help-user.xml b/doc/guide/files/help-user.xml new file mode 100644 index 000000000000..a710fd5bb76b --- /dev/null +++ b/doc/guide/files/help-user.xml @@ -0,0 +1,29 @@ + + + +Getting help + + + 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: + + + + + The pkgsrc-users mailing list, to which + you + can subscribe and then ask your + questions. + + +The #pkgsrc IRC channel, which is accessible + via a web browser + or by using a specialized chat program such as + XChat. + Pick any user name and join the channel #pkgsrc. + + + + diff --git a/doc/guide/files/pkgsrc.xml b/doc/guide/files/pkgsrc.xml index 7acdae56eafd..29793d111ef4 100644 --- a/doc/guide/files/pkgsrc.xml +++ b/doc/guide/files/pkgsrc.xml @@ -1,5 +1,5 @@ - + The NetBSD Foundation, Inc - $NetBSD: pkgsrc.xml,v 1.33 2019/01/01 02:50:23 jnemeth Exp $ + $NetBSD: pkgsrc.xml,v 1.34 2019/04/28 13:41:18 rillig Exp $ @@ -65,6 +65,7 @@ The pkgsrc user's guide + &chap.help-user; &chap.getting; &chap.platform; &chap.using; @@ -84,6 +85,7 @@ guide on creating a new package. The remaining chapters are more like a reference manual for pkgsrc. + &chap.help-devel; &chap.creating; &chap.components; &chap.makefile;