pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide/files Stop the NetBSD keyword substitution b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f0793d906cb
branches:  trunk
changeset: 356965:1f0793d906cb
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Mon Jan 09 07:22:52 2017 +0000

description:
Stop the NetBSD keyword substitution by introducing a space.
Add a note to highlight the artificial space added to example.

diffstat:

 doc/guide/files/plist.xml |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (42 lines):

diff -r 472167dccde0 -r 1f0793d906cb doc/guide/files/plist.xml
--- a/doc/guide/files/plist.xml Mon Jan 09 07:10:43 2017 +0000
+++ b/doc/guide/files/plist.xml Mon Jan 09 07:22:52 2017 +0000
@@ -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 @@
 
     <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}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">



Home | Main Index | Thread Index | Old Index