svn commit: r278088 - head/tools/build/mk
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Feb 2 14:51:27 UTC 2015
Author: amdmi3 (ports committer)
Date: Mon Feb 2 14:51:26 2015
New Revision: 278088
URL: https://svnweb.freebsd.org/changeset/base/278088
Log:
- Remove more files when MK_MAN == no
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
Modified:
head/tools/build/mk/OptionalObsoleteFiles.inc
Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
==============================================================================
--- head/tools/build/mk/OptionalObsoleteFiles.inc Mon Feb 2 14:50:14 2015 (r278087)
+++ head/tools/build/mk/OptionalObsoleteFiles.inc Mon Feb 2 14:51:26 2015 (r278088)
@@ -5357,10 +5357,10 @@ OLD_FILES+=usr/tests/usr.bin/bmake/varia
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
More information about the svn-src-head
mailing list