The branch main has been updated by ngie:

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

commit 19c8cc3162aca9fde56581caee743d68d322c909
Author:     Enji Cooper <n...@freebsd.org>
AuthorDate: 2025-08-16 04:31:58 +0000
Commit:     Enji Cooper <n...@freebsd.org>
CommitDate: 2025-08-19 01:09:12 +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
---
 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 b30604238855..dcd606feea1d 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1709,6 +1709,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
@@ -1921,6 +1923,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

Reply via email to