git: 09dbcd12d526 - stable/14 - Remove inotify example code when MK_EXAMPLES == no
Mark Johnston <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.src |
|---|---|
| Message-ID | <6a7353d3.466d6.6813a0d3__45863.0563038$1785943170$gmane$org@gitrepo.freebsd.org> |
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=09dbcd12d5261f826e91944b17f814ce592e2c7f commit 09dbcd12d5261f826e91944b17f814ce592e2c7f Author: Enji Cooper <[email protected]> AuthorDate: 2025-08-16 04:31:58 +0000 Commit: Mark Johnston <[email protected]> CommitDate: 2026-08-05 15:15:15 +0000 Remove inotify example code when MK_EXAMPLES == no This change adds the needed entries to OLD_DIRS and OLD_FILES to ensure that the paths are properly cleaned up when `make delete-old` is run and MK_EXAMPLES == no. MFC after: 2 months Fixes: 1d8664d69041 ("examples: Add a demo program for inotify") Differential Revision: https://reviews.freebsd.org/D51934 (cherry picked from commit 19c8cc3162aca9fde56581caee743d68d322c909) --- tools/build/mk/OptionalObsoleteFiles.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 997807d260fc..c73c0e2d6544 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -1792,6 +1792,8 @@ OLD_FILES+=usr/share/examples/hostapd/hostapd.conf OLD_FILES+=usr/share/examples/hostapd/hostapd.eap_user OLD_FILES+=usr/share/examples/hostapd/hostapd.wpa_psk OLD_FILES+=usr/share/examples/indent/indent.pro +OLD_FILES+=usr/share/examples/inotify/Makefile +OLD_FILES+=usr/share/examples/inotify/inotify.c OLD_FILES+=usr/share/examples/ipfilter/BASIC.NAT OLD_FILES+=usr/share/examples/ipfilter/BASIC_1.FW OLD_FILES+=usr/share/examples/ipfilter/BASIC_2.FW @@ -2030,6 +2032,7 @@ OLD_DIRS+=usr/share/examples/hast OLD_DIRS+=usr/share/examples/ibcs2 OLD_DIRS+=usr/share/examples/hostapd OLD_DIRS+=usr/share/examples/indent +OLD_DIRS+=usr/share/examples/inotify OLD_DIRS+=usr/share/examples/ipfilter OLD_DIRS+=usr/share/examples/ipfw OLD_DIRS+=usr/share/examples/jails