summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.man.mk
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-08-08 07:02:08 +0000
committerpeter <peter@FreeBSD.org>1998-08-08 07:02:08 +0000
commit912ec94d68f55da823d1818442c50925d735455f (patch)
treed2d1765679bbb537ae059d1ce0c1ebf7e4c39c4c /share/mk/bsd.man.mk
parentf1b6bb19f5a22b0f4f9b0f975676c9d213b033c8 (diff)
downloadFreeBSD-src-912ec94d68f55da823d1818442c50925d735455f.zip
FreeBSD-src-912ec94d68f55da823d1818442c50925d735455f.tar.gz
Make ../Makefile.inc handling more consistant to prevent multiple includes
when certain .mk files include other .mk files. This will remove the need for multiple include protection in some other makefiles around the tree (and helps some elf conditionals).
Diffstat (limited to 'share/mk/bsd.man.mk')
-rw-r--r--share/mk/bsd.man.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk
index 44e720e..7a79e6f 100644
--- a/share/mk/bsd.man.mk
+++ b/share/mk/bsd.man.mk
@@ -1,4 +1,4 @@
-# $Id: bsd.man.mk,v 1.26 1997/11/09 15:03:14 wosch Exp $
+# $Id: bsd.man.mk,v 1.27 1998/04/27 15:08:07 bde Exp $
#
# The include file <bsd.man.mk> handles installing manual pages and
# their links.
@@ -52,6 +52,13 @@
# Install the manual pages and their links.
#
+.if !target(__initialized__)
+__initialized__:
+.if exists(${.CURDIR}/../Makefile.inc)
+.include "${.CURDIR}/../Makefile.inc"
+.endif
+.endif
+
MANSRC?= ${.CURDIR}
MINSTALL= ${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE}
OpenPOWER on IntegriCloud