git: 2cead0f6dfa8 - stable/13 - ObsoleteFiles.inc: Add comment regarding optional files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Jul 2022 16:06:36 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=2cead0f6dfa81759128fadf35c863af6fb8a807d
commit 2cead0f6dfa81759128fadf35c863af6fb8a807d
Author: Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2021-04-11 21:00:39 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-07-13 15:33:46 +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
(cherry picked from commit 2a47875ea6a8359fd329ef1760da91b54396436f)
---
ObsoleteFiles.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index bd640000265c..840aa8743dba 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