Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Make lintmanpages not depend on MKMANDOC, it is bui...



details:   https://anonhg.NetBSD.org/src/rev/3cb5eaa09e17
branches:  trunk
changeset: 752595:3cb5eaa09e17
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Mar 01 22:00:07 2010 +0000

description:
Make lintmanpages not depend on MKMANDOC, it is built by default now.
Use -Wall to increase usefulness.

diffstat:

 share/mk/bsd.man.mk |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 52585fc56837 -r 3cb5eaa09e17 share/mk/bsd.man.mk
--- a/share/mk/bsd.man.mk       Mon Mar 01 21:53:58 2010 +0000
+++ b/share/mk/bsd.man.mk       Mon Mar 01 22:00:07 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.man.mk,v 1.102 2009/10/23 23:12:10 joerg Exp $
+#      $NetBSD: bsd.man.mk,v 1.103 2010/03/01 22:00:07 joerg Exp $
 #      @(#)bsd.man.mk  8.1 (Berkeley) 6/8/93
 
 .include <bsd.init.mk>
@@ -6,9 +6,7 @@
 ##### Basic targets
 .PHONY:                catinstall maninstall catpages manpages catlinks manlinks
 .PHONY:                htmlinstall htmlpages htmllinks
-.if ${MKMANDOC} == "yes"
 .PHONY:                lintmanpages
-.endif
 realinstall:   ${MANINSTALL}
 
 ##### Default values
@@ -274,9 +272,9 @@
 .endif
 # (XXX ${CATPAGES:S...} cleans up old .catN files where .catN.gz now used)
 
-.if ${MKMANDOC} == "yes" && !empty(MANPAGES)
+.if !empty(MANPAGES)
 lintmanpages: ${MANPAGES}
-       ${TOOL_MANDOC_LINT} -Tlint -fstrict ${.ALLSRC}
+       ${TOOL_MANDOC_LINT} -Tlint -fstrict -Wall ${.ALLSRC}
 .endif
 
 ##### Pull in related .mk logic



Home | Main Index | Thread Index | Old Index