pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/doc/guide/files
Module Name: pkgsrc
Committed By: rillig
Date: Sun Feb 9 19:06:12 UTC 2020
Modified Files:
pkgsrc/doc/guide/files: components.xml
Log Message:
doc/guide: don't suggest patch files against /dev/null
These patches would be much harder to edit and read than ordinary files.
Also recommend to copy these files in post-extract instead of
pre-configure, since extract is used for putting all files in place.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/doc/guide/files/components.xml
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/doc/guide/files/components.xml
diff -u pkgsrc/doc/guide/files/components.xml:1.57 pkgsrc/doc/guide/files/components.xml:1.58
--- pkgsrc/doc/guide/files/components.xml:1.57 Sun Aug 18 16:35:16 2019
+++ pkgsrc/doc/guide/files/components.xml Sun Feb 9 19:06:12 2020
@@ -1,4 +1,4 @@
-<!-- $NetBSD: components.xml,v 1.57 2019/08/18 16:35:16 rillig Exp $ -->
+<!-- $NetBSD: components.xml,v 1.58 2020/02/09 19:06:12 rillig Exp $ -->
<chapter id="components"> <?dbhtml filename="components.html"?>
<title>Package components - files, directories and contents</title>
@@ -691,13 +691,10 @@ MESSAGE_SUBST+= SOMEVAR="somevalue"
<sect1 id="files-dir">
<title><filename>files/*</filename></title>
- <para>If you have any files that you wish to be placed in the package prior
- to configuration or building, you could place these files here and use
- a <command>${CP}</command> command in the
- <quote>pre-configure</quote> target to achieve
- this. Alternatively, you could simply diff the file against
- <filename>/dev/null</filename> and use the patch mechanism to manage
- the creation of this file.</para>
+ <para>If you have any files that you wish to be placed in the package
+ prior to configuration or building, you can place these files here
+ and use a <command>${CP}</command> command in the
+ <quote>post-extract</quote> target to achieve this.</para>
<para>If you want to share files in this way with other
packages, set the <varname>FILESDIR</varname> variable to point
Home |
Main Index |
Thread Index |
Old Index