summaryrefslogtreecommitdiffstats
path: root/ObsoleteFiles.inc
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2010-11-22 09:37:52 +0000
committernetchild <netchild@FreeBSD.org>2010-11-22 09:37:52 +0000
commit1ea5ca6b7b7703d74273c5694ee948eab6935204 (patch)
tree8ed4127b1983b457378c0ac48d13c5ebd1b61ac8 /ObsoleteFiles.inc
parent47500ea1a12ad66deda5f77ad59124938d3e00f4 (diff)
downloadFreeBSD-src-1ea5ca6b7b7703d74273c5694ee948eab6935204.zip
FreeBSD-src-1ea5ca6b7b7703d74273c5694ee948eab6935204.tar.gz
1) Add a hint to check for duplicates with optional files. The committed
text is a little bit modified to what was submitted. The code example to automate a part of this was proposed by Dmitry Morozovsky. 2) Remove trailing whitespace. Submitted by: arundel
Diffstat (limited to 'ObsoleteFiles.inc')
-rw-r--r--ObsoleteFiles.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index e358ed9..b1b3480 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -13,6 +13,15 @@
#
# The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last.
#
+# 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
+# architecture specific conditionals, so you can not blindly trust the
+# output:
+# ( grep '+=' /usr/src/ObsoleteFiles.inc | sort -u ; \
+# grep '+=' /usr/src/tools/build/mk/OptionalObsoleteFiles.inc | sort -u) | \
+# sort | uniq -d
+#
# 20101112: vgonel(9) has gone to private API a while ago
OLD_FILES+=usr/share/man/man9/vgonel.9.gz
@@ -1634,7 +1643,7 @@ OLD_DIRS+=usr/include/c++/3.4
OLD_FILES+=usr/sbin/zfs
OLD_FILES+=usr/sbin/zpool
# 20070423: rc.bluetooth (examples) removed
-OLD_FILES+=usr/share/examples/netgraph/bluetooth/rc.bluetooth
+OLD_FILES+=usr/share/examples/netgraph/bluetooth/rc.bluetooth
# 20070421: worm.4 removed
OLD_FILES+=usr/share/man/man4/worm.4.gz
# 20070417: trunk(4) renamed to lagg(4)
OpenPOWER on IntegriCloud