Date: Mon, 2 Feb 2015 14:51:27 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r278088 - head/tools/build/mk Message-ID: <201502021451.t12EpRXD010700@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502021451.t12EpRXD010700>