summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2017-01-09 07:22:52 +0000
committersevan <sevan@pkgsrc.org>2017-01-09 07:22:52 +0000
commitcb62a18fc5724e2679229917c9d48a9e164ad2f2 (patch)
treee91c7ab7ebf91ea5f6966c5f7d0f75d04bc1d0bc /doc/guide
parent44a225c04139e6933fdafaad5683cf733104b16d (diff)
downloadpkgsrc-cb62a18fc5724e2679229917c9d48a9e164ad2f2.tar.gz
Stop the NetBSD keyword substitution by introducing a space.
Add a note to highlight the artificial space added to example.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/plist.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/guide/files/plist.xml b/doc/guide/files/plist.xml
index 399e9f3c732..f9b5d77c23d 100644
--- a/doc/guide/files/plist.xml
+++ b/doc/guide/files/plist.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: plist.xml,v 1.24 2016/07/10 07:46:29 rillig Exp $ -->
+<!-- $NetBSD: plist.xml,v 1.25 2017/01/09 07:22:52 sevan Exp $ -->
<chapter id="plist">
<title>PLIST issues</title>
@@ -20,8 +20,11 @@
<filename>PLIST</filename> file you write:</para>
<programlisting>
-@comment &#36;NetBSD&#36;
+@comment &#36;NetBSD &#36;
</programlisting>
+ <para>An artificial space has been added betweeen NetBSD and $, this is a
+workaround here to prevent CVS expanding to the filename of the guide. When
+adding the RCS ID the space should be ommited.</para>
</sect1>
<sect1 id="automatic-plist-generation">
@@ -153,7 +156,7 @@ PLIST.foo= yes
<para>And then in <filename>PLIST</filename>:</para>
<programlisting>
-@comment &#36;NetBSD&#36;
+@comment &#36;NetBSD &#36;
bin/bar
man/man1/bar.1
${PLIST.foo}bin/foo
@@ -161,6 +164,10 @@ ${PLIST.foo}man/man1/foo.1
${PLIST.foo}share/bar/foo.data
</programlisting>
+ <para>An artificial space has been added betweeen NetBSD and $, this is a
+workaround here to prevent CVS expanding to the filename of the guide. When
+adding the RCS ID the space should be ommited.</para>
+
</sect1>
<sect1 id="manpage-compression">