use SUBDIR.roff suggested by uwe@

This commit is contained in:
christos 2018-06-10 17:55:11 +00:00
parent 3d8c9e20d7
commit 2357fc5dd5
11 changed files with 27 additions and 23 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.41 2014/07/05 23:12:33 dholland Exp $
# $NetBSD: Makefile,v 1.42 2018/06/10 17:55:11 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
#
# C Shell with process control; VM/UNIX VAX Makefile
@ -52,7 +52,7 @@ const.h: const.c
${TOOL_SED} -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \
sort >> ${.TARGET}
SUBDIR+=USD.doc
SUBDIR.roff+=USD.doc
COPTS.err.c = -Wno-format-nonliteral
COPTS.printf.c = -Wno-format-nonliteral

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.113 2017/06/30 23:05:45 kre Exp $
# $NetBSD: Makefile,v 1.114 2018/06/10 17:55:11 christos Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
.include <bsd.own.mk>
@ -87,7 +87,7 @@ optinit.h: mkoptions.sh option.list
NBCOMPATLIB= -L${TOOLDIR}/lib -lnbcompat
.endif
SUBDIR+=USD.doc
SUBDIR.roff+=USD.doc
COPTS.printf.c = -Wno-format-nonliteral
COPTS.jobs.c = -Wno-format-nonliteral

View File

@ -1,5 +1,6 @@
# $NetBSD: Makefile,v 1.1 2013/11/22 16:00:45 christos Exp $
# $NetBSD: Makefile,v 1.2 2018/06/10 17:55:11 christos Exp $
SUBDIR= USD.doc info
SUBDIR= info
SUBDIR.roff= USD.doc
.include <bsd.subdir.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2014/07/05 19:22:03 dholland Exp $
# $NetBSD: Makefile,v 1.16 2018/06/10 17:55:11 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= trek
@ -15,7 +15,7 @@ DPADD= ${LIBM}
LDADD= -lm
HIDEGAME=hidegame
SUBDIR+=USD.doc
SUBDIR.roff+=USD.doc
COPTS.getpar.c += -Wno-format-nonliteral

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.84 2017/01/24 17:27:30 roy Exp $
# $NetBSD: Makefile,v 1.85 2018/06/10 17:55:11 christos Exp $
# @(#)Makefile 8.2 (Berkeley) 1/2/94
.include <bsd.own.mk>
@ -198,7 +198,7 @@ MLINKS+= curses_addch.3 addch.3 curses_addchstr.3 addchnstr.3 \
curses_touch.3 wtouchln.3 curses_underscore.3 wunderend.3 \
curses_underscore.3 wunderscore.3 curses_line.3 wvline.3
SUBDIR+= PSD.doc
SUBDIR.roff+= PSD.doc
fileio.h: shlib_version genfileioh.awk
${TOOL_AWK} -f ${.CURDIR}/genfileioh.awk < ${.CURDIR}/shlib_version > ${.CURDIR}/fileio.h

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.34 2018/06/10 17:17:46 kamil Exp $
# $NetBSD: Makefile,v 1.35 2018/06/10 17:55:11 christos Exp $
# from @(#)Makefile 8.1 (Berkeley) 6/5/93
# Missing: ms
@ -19,6 +19,8 @@ SUBDIR+=i18n locale nls
.endif
.endif
SUBDIR.roff+= doc
# Speedup stubs for some subtrees that don't need to run these rules
includes-examples includes-man:
@true

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.subdir.mk,v 1.53 2018/06/10 17:17:46 kamil Exp $
# $NetBSD: bsd.subdir.mk,v 1.54 2018/06/10 17:55:11 christos Exp $
# @(#)bsd.subdir.mk 8.1 (Berkeley) 6/8/93
.include <bsd.init.mk>
@ -6,8 +6,6 @@
.if !defined(NOSUBDIR) # {
.for dir in ${SUBDIR}
.if ("${dir}" != "USD.doc" && "${dir}" != "PSD.doc" && "${dir}" != "SMM.doc") \
|| ${MKGROFF} == "yes"
.if "${dir}" == ".WAIT"
# Don't play with .WAIT
__REALSUBDIR+=${dir}
@ -28,9 +26,12 @@ __REALSUBDIR+=${dir}
.endif
.endif
.endif
.endif
.endfor
.if ${MKGROFF} == "yes"
__REALSUBDIR+=${SUBDIR.roff}
.endif
__recurse: .USE
@${MAKEDIRTARGET} ${.TARGET:C/^[^-]*-//} ${.TARGET:C/-.*$//}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.37 2018/05/23 01:03:46 christos Exp $
# $NetBSD: Makefile,v 1.38 2018/06/10 17:55:11 christos Exp $
# @(#)Makefile 8.3 (Berkeley) 4/20/95
.include <bsd.own.mk>
@ -71,7 +71,7 @@ FILESDIR= /usr/share/misc
FILES= mail.help mail.tildehelp
.endif
SUBDIR+= USD.doc
SUBDIR.roff+= USD.doc
CONFIGFILES= mail.rc
FILESDIR_mail.rc= /etc

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.59 2016/02/18 20:33:40 sjg Exp $
# $NetBSD: Makefile,v 1.60 2018/06/10 17:55:11 christos Exp $
# @(#)Makefile 5.2 (Berkeley) 12/28/90
PROG= make
@ -24,7 +24,7 @@ COPTS.meta.c += -DHAVE_FILEMON_H -I${FILEMON_H:H}
.endif
.PATH: ${.CURDIR}/lst.lib
SUBDIR= PSD.doc
SUBDIR.roff+= PSD.doc
.if make(obj) || make(clean)
SUBDIR+= unit-tests
.endif

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.11 2014/07/05 19:22:05 dholland Exp $
# $NetBSD: Makefile,v 1.12 2018/06/10 17:55:11 christos Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
SUBDIR= common_source .WAIT lp lpc lpd lpq lpr lprm lptest pac filters
SUBDIR+= SMM.doc
SUBDIR.roff+= SMM.doc
.include <bsd.subdir.mk>

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.5 2014/07/05 19:22:05 dholland Exp $
# $NetBSD: Makefile,v 1.6 2018/06/10 17:55:11 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
SUBDIR= timed timedc
SUBDIR+= SMM.doc
SUBDIR.roff+= SMM.doc
.include <bsd.subdir.mk>