aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-02-02 14:51:26 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-02-02 14:51:26 +0000
commitddef03245558d5c9ad11d579d376287e629e7224 (patch)
tree1cc1db79005710f1d91988225f1c439a8cc00b15 /tools
parent426d5303726afc816178b00e69553b805a9bf46a (diff)
downloadsrc-ddef03245558d5c9ad11d579d376287e629e7224.tar.gz
src-ddef03245558d5c9ad11d579d376287e629e7224.zip
- Remove more files when MK_MAN == no
MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
Notes
Notes: svn path=/head/; revision=278088
Diffstat (limited to 'tools')
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 2effa0fb90ee..eb808720cce1 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -5357,10 +5357,10 @@ OLD_FILES+=usr/tests/usr.bin/bmake/variables/t0/expected.stdout.1
OLD_FILES+=usr/tests/usr.bin/bmake/variables/t0/legacy_test
.endif
-#.if ${MK_MAN} == no
-# This should add a dependency to a special target which removes all man pages.
-# Listing all of them here is overkill.
-#.endif
+.if ${MK_MAN} == no
+MAN_FILES!=find ${DESTDIR}/usr/share/man ${DESTDIR}/usr/share/openssl/man -type f | sed -e 's,^${DESTDIR}/,,'; echo
+OLD_FILES+=${MAN_FILES}
+.endif
.if ${MK_NDIS} == no
OLD_FILES+=usr/sbin/ndiscvt