Module Name:    othersrc
Committed By:   agc
Date:           Mon May 30 03:49:56 UTC 2011

Modified Files:
        othersrc/external/bsd/gensetlist: bsd.setlist.mk

Log Message:
add a guard to the passing of the MAN definition, since MKMAN will supercede
any MAN definitions. only allow man pages to be listed in the set lists when
MKMAN != "no".


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 othersrc/external/bsd/gensetlist/bsd.setlist.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/external/bsd/gensetlist/bsd.setlist.mk
diff -u othersrc/external/bsd/gensetlist/bsd.setlist.mk:1.5 othersrc/external/bsd/gensetlist/bsd.setlist.mk:1.6
--- othersrc/external/bsd/gensetlist/bsd.setlist.mk:1.5	Mon May 23 06:31:24 2011
+++ othersrc/external/bsd/gensetlist/bsd.setlist.mk	Mon May 30 03:49:56 2011
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.setlist.mk,v 1.5 2011/05/23 06:31:24 agc Exp $
+# $NetBSD: bsd.setlist.mk,v 1.6 2011/05/30 03:49:56 agc Exp $
 
 # Copyright (c) 2010,2011 Alistair Crooks <a...@netbsd.org>
 # All rights reserved.
@@ -33,8 +33,10 @@
 .endif
 
 .if defined(MAN)
+.  if defined(MKMAN) && ${MKMAN} != "no"
 GENSETLIST_ARGS+=-v MAN=${MAN:Q}
 GENSETLIST_ARGS+=-v MANDIR=${MANDIR:Q}
+.  endif
 .endif
 
 .if defined(INCS)

Reply via email to