Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Aug 2026 15:16:35 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Enji Cooper <ngie@FreeBSD.org>
Subject:   git: 09dbcd12d526 - stable/14 - Remove inotify example code when MK_EXAMPLES == no
Message-ID:  <6a7353d3.466d6.6813a0d3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by markj:

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

commit 09dbcd12d5261f826e91944b17f814ce592e2c7f
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2025-08-16 04:31:58 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a7353d3.466d6.6813a0d3>