diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-02-02 14:51:26 +0000 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-02-02 14:51:26 +0000 |
commit | 8d1bca6a772389632fb9cfcb8077c7dcfe44dd50 (patch) | |
tree | 1cc1db79005710f1d91988225f1c439a8cc00b15 /tools/build | |
parent | 24c6948c9492e4278af7d9ffaf32e64d9213e11b (diff) | |
download | FreeBSD-src-8d1bca6a772389632fb9cfcb8077c7dcfe44dd50.zip FreeBSD-src-8d1bca6a772389632fb9cfcb8077c7dcfe44dd50.tar.gz |
- Remove more files when MK_MAN == no
MFC after: 1 week
Reviewed by: ngie
Approved by: ngie
Differential Revision: D1600
Diffstat (limited to 'tools/build')
-rw-r--r-- | tools/build/mk/OptionalObsoleteFiles.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 2effa0f..eb80872 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 |