summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.sgml.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.sgml.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.sgml.mk')
-rw-r--r--share/mk/bsd.sgml.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/mk/bsd.sgml.mk b/share/mk/bsd.sgml.mk
index 83b8918..39a117a 100644
--- a/share/mk/bsd.sgml.mk
+++ b/share/mk/bsd.sgml.mk
@@ -1,7 +1,7 @@
# bsd.sgml.mk - 8 Sep 1995 John Fieber
# This file is in the public domain.
#
-# $Id: bsd.sgml.mk,v 1.24 1998/05/06 18:44:04 bde Exp $
+# $Id: bsd.sgml.mk,v 1.25 1998/05/18 16:57:10 wosch Exp $
#
# The include file <bsd.sgml.mk> handles installing sgml documents.
#
@@ -51,9 +51,12 @@
#
+.if !target(__initialized__)
+__initialized__:
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
.endif
+.endif
# FORMATS indicates which output formats will be generated. See
# the sgmlfmt(1) man page for a list of valid formats.
OpenPOWER on IntegriCloud