git: 2a47875ea6a8 - main - ObsoleteFiles.inc: Add comment regarding optional files

Stefan Eßer se at FreeBSD.org
Sun Apr 11 21:06:37 UTC 2021


The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/src/commit/?id=2a47875ea6a8359fd329ef1760da91b54396436f

commit 2a47875ea6a8359fd329ef1760da91b54396436f
Author:     Stefan Eßer <se at FreeBSD.org>
AuthorDate: 2021-04-11 21:00:39 +0000
Commit:     Stefan Eßer <se at FreeBSD.org>
CommitDate: 2021-04-11 21:00:39 +0000

    ObsoleteFiles.inc: Add comment regarding optional files
    
    I had added entries that depended on some build option to this file
    and have been informed, that those go into a different file in another
    directory.
    
    Mentioning /usr/src/tools/build/mk/OptionalObsoleteFiles.inc in this
    file should help other committers (and me) to not repeat that mistake.
    
    MFC after:      1 week
---
 ObsoleteFiles.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index f50b9befdd66..373e014ba074 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -11,6 +11,10 @@
 # In case of a complete directory hierarchy the sorting is in depth first
 # order.
 #
+# Files that are installed or removed depending on some build option
+# are to be listed in /usr/src/tools/build/mk/OptionalObsoleteFiles.inc
+# instead of in this file.
+#
 # Before you commit changes to this file please check if any entries in
 # tools/build/mk/OptionalObsoleteFiles.inc can be removed. The following
 # command tells which files are listed more than once regardless of some


More information about the dev-commits-src-all mailing list