git: b64973834710 - stable/14 - Remove all of /usr/tests/share/examples/... when MK_EXAMPLES == no

From: Enji Cooper <ngie_at_FreeBSD.org>
Date: Fri, 12 Jun 2026 18:12:34 UTC
The branch stable/14 has been updated by ngie:

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

commit b64973834710727d30dce9f5e1e198f933254c15
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-04-22 21:06:37 +0000
Commit:     Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-06-12 18:12:19 +0000

    Remove all of /usr/tests/share/examples/... when MK_EXAMPLES == no
    
    - Remove the generated files (`file1`).
    - Remove the top-level example `Kyuafile`.
    
    MFC after:      1 week
    
    (cherry picked from commit fb7df70a479f7cf972073f3a779adba2b4517c31)
---
 tools/build/mk/OptionalObsoleteFiles.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index ed8a3941caa9..bd7646d2caba 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1976,8 +1976,10 @@ OLD_FILES+=usr/share/examples/sunrpc/sort/Makefile
 OLD_FILES+=usr/share/examples/sunrpc/sort/rsort.c
 OLD_FILES+=usr/share/examples/sunrpc/sort/sort.x
 OLD_FILES+=usr/share/examples/sunrpc/sort/sort_proc.c
+OLD_FILES+=usr/tests/share/examples/Kyuafile
 OLD_FILES+=usr/tests/share/examples/tests/atf/Kyuafile
 OLD_FILES+=usr/tests/share/examples/tests/atf/cp_test
+OLD_FILES+=usr/tests/share/examples/tests/atf/file1
 OLD_FILES+=usr/tests/share/examples/tests/atf/printf_test
 OLD_FILES+=usr/tests/share/examples/tests/googletest/Kyuafile
 OLD_FILES+=usr/tests/share/examples/tests/googletest/sample10_unittest
@@ -1991,9 +1993,11 @@ OLD_FILES+=usr/tests/share/examples/tests/googletest/sample7_unittest
 OLD_FILES+=usr/tests/share/examples/tests/googletest/sample8_unittest
 OLD_FILES+=usr/tests/share/examples/tests/plain/Kyuafile
 OLD_FILES+=usr/tests/share/examples/tests/plain/cp_test
+OLD_FILES+=usr/tests/share/examples/tests/plain/file1
 OLD_FILES+=usr/tests/share/examples/tests/plain/printf_test
 OLD_FILES+=usr/tests/share/examples/tests/tap/Kyuafile
 OLD_FILES+=usr/tests/share/examples/tests/tap/cp_test
+OLD_FILES+=usr/tests/share/examples/tests/tap/file1
 OLD_FILES+=usr/tests/share/examples/tests/tap/printf_test
 OLD_FILES+=usr/tests/share/examples/tests/Kyuafile
 OLD_FILES+=usr/share/examples/tcsh/complete.tcsh