| @@ -1,40 +1,40 @@ | | | @@ -1,40 +1,40 @@ |
1 | <!-- $NetBSD: plist.xml,v 1.26 2017/02/02 07:22:13 yyamano Exp $ --> | | 1 | <!-- $NetBSD: plist.xml,v 1.27 2017/05/15 07:39:42 gson Exp $ --> |
2 | | | 2 | |
3 | <chapter id="plist"> | | 3 | <chapter id="plist"> |
4 | <title>PLIST issues</title> | | 4 | <title>PLIST issues</title> |
5 | | | 5 | |
6 | <para>The <filename>PLIST</filename> file contains a package's | | 6 | <para>The <filename>PLIST</filename> file contains a package's |
7 | <quote>packing list</quote>, i.e. a list of files that belong to | | 7 | <quote>packing list</quote>, i.e. a list of files that belong to |
8 | the package (relative to the <filename>${PREFIX}</filename> | | 8 | the package (relative to the <filename>${PREFIX}</filename> |
9 | directory it's been installed in) plus some additional statements | | 9 | directory it's been installed in) plus some additional statements |
10 | - see the &man.pkg.create.1; man page for a full list. | | 10 | - see the &man.pkg.create.1; man page for a full list. |
11 | This chapter addresses some issues that need attention when | | 11 | This chapter addresses some issues that need attention when |
12 | dealing with the <filename>PLIST</filename> file (or files, see | | 12 | dealing with the <filename>PLIST</filename> file (or files, see |
13 | below!).</para> | | 13 | below!).</para> |
14 | | | 14 | |
15 | | | 15 | |
16 | <sect1 id="rcs-id"> | | 16 | <sect1 id="rcs-id"> |
17 | <title>RCS ID</title> | | 17 | <title>RCS ID</title> |
18 | | | 18 | |
19 | <para>Be sure to add a RCS ID line as the first thing in any | | 19 | <para>Be sure to add a RCS ID line as the first thing in any |
20 | <filename>PLIST</filename> file you write:</para> | | 20 | <filename>PLIST</filename> file you write:</para> |
21 | | | 21 | |
22 | <programlisting> | | 22 | <programlisting> |
23 | @comment $NetBSD $ | | 23 | @comment $NetBSD $ |
24 | </programlisting> | | 24 | </programlisting> |
25 | <para>An artificial space has been added between NetBSD and $, this is a | | 25 | <para>An artificial space has been added between NetBSD and $, this is a |
26 | workaround here to prevent CVS expanding to the filename of the guide. When | | 26 | workaround here to prevent CVS expanding to the filename of the guide. When |
27 | adding the RCS ID the space should be ommited.</para> | | 27 | adding the RCS ID the space should be omitted.</para> |
28 | </sect1> | | 28 | </sect1> |
29 | | | 29 | |
30 | <sect1 id="automatic-plist-generation"> | | 30 | <sect1 id="automatic-plist-generation"> |
31 | <title>Semi-automatic <filename>PLIST</filename> generation</title> | | 31 | <title>Semi-automatic <filename>PLIST</filename> generation</title> |
32 | | | 32 | |
33 | <para>You can use the <command>make print-PLIST</command> command | | 33 | <para>You can use the <command>make print-PLIST</command> command |
34 | to output a PLIST that matches any new files since the package | | 34 | to output a PLIST that matches any new files since the package |
35 | was extracted. See <xref linkend="build.helpful-targets"/> for | | 35 | was extracted. See <xref linkend="build.helpful-targets"/> for |
36 | more information on this target.</para> | | 36 | more information on this target.</para> |
37 | </sect1> | | 37 | </sect1> |
38 | | | 38 | |
39 | | | 39 | |
40 | <sect1 id="print-PLIST"> | | 40 | <sect1 id="print-PLIST"> |