summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.man.mk
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1996-12-26 22:37:30 +0000
committerwosch <wosch@FreeBSD.org>1996-12-26 22:37:30 +0000
commit93fb6a7b2a9f4ca986d79707281972d8f2da828d (patch)
treeccc8614292582aac464540e6770b483eac3955f3 /share/mk/bsd.man.mk
parent5c7ac7618dd1761c16c93a170cfdc1aed55fe3df (diff)
downloadFreeBSD-src-93fb6a7b2a9f4ca986d79707281972d8f2da828d.zip
FreeBSD-src-93fb6a7b2a9f4ca986d79707281972d8f2da828d.tar.gz
add new variable NOMLINKS
NOMLINKS If you do not want install manual page links. [not set]
Diffstat (limited to 'share/mk/bsd.man.mk')
-rw-r--r--share/mk/bsd.man.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk
index c5dd44c..9af007c 100644
--- a/share/mk/bsd.man.mk
+++ b/share/mk/bsd.man.mk
@@ -1,4 +1,4 @@
-# $Id: bsd.man.mk,v 1.15 1996/08/26 10:55:32 peter Exp $
+# $Id: bsd.man.mk,v 1.16 1996/09/16 14:13:40 peter Exp $
#
# The include file <bsd.man.mk> handles installing manual pages and
# their links. <bsd.man.mk> includes the file named "../Makefile.inc"
@@ -37,6 +37,8 @@
# NOMANCOMPRESS If you do not want unformatted manual pages to be
# compressed when they are installed. [not set]
#
+# NOMLINKS If you do not want install manual page links. [not set]
+#
# MANFILTER command to pipe the raw man page though before compressing
# or installing. Can be used to do sed substitution.
#
@@ -141,7 +143,7 @@ maninstall:: ${MAN${sect}}
.endif
.endfor
-.if defined(MLINKS) && !empty(MLINKS)
+.if !defined(NOMLINKS) && defined(MLINKS) && !empty(MLINKS)
@set `echo ${MLINKS} " " | sed 's/\.\([^.]*\) /.\1 \1 /g'`; \
while : ; do \
case $$# in \
OpenPOWER on IntegriCloud