Module Name:    src
Committed By:   apb
Date:           Fri Oct 25 10:45:01 UTC 2013

Modified Files:
        src/share/mk: bsd.man.mk

Log Message:
Recognise .3lua and .9lua as man page extensions.  Source
files like foo.3lua will result in installed files like
/usr/share/man/man3lua/foo.3lua, /usr/share/man/cat3lua/foo.0,
and /usr/share/man/html3lua/foo.html.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/share/mk/bsd.man.mk

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

Modified files:

Index: src/share/mk/bsd.man.mk
diff -u src/share/mk/bsd.man.mk:1.112 src/share/mk/bsd.man.mk:1.113
--- src/share/mk/bsd.man.mk:1.112	Thu Mar 21 02:04:17 2013
+++ src/share/mk/bsd.man.mk	Fri Oct 25 10:45:01 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.man.mk,v 1.112 2013/03/21 02:04:17 christos Exp $
+#	$NetBSD: bsd.man.mk,v 1.113 2013/10/25 10:45:01 apb Exp $
 #	@(#)bsd.man.mk	8.1 (Berkeley) 6/8/93
 
 .include <bsd.init.mk>
@@ -32,6 +32,7 @@ MANTARGET?=	cat
 MAN?=
 MLINKS?=
 _MNUMBERS=	1 2 3 4 5 6 7 8 9
+_MNUMBERS+=	3lua 9lua
 .SUFFIXES:	${_MNUMBERS:@N@.$N@}
 
 .if ${MKMANZ} == "no"
@@ -123,7 +124,7 @@ manlinks::	${_t}
 .if (${MKCATPAGES} != "no") && (${MKMAN} != "no")
 catinstall:	catpages catlinks
 catpages::	# ensure target exists
-CATPAGES=	${MAN:C/\.([1-9])$/.cat\1${MANSUFFIX}/}
+CATPAGES=	${MAN:C/\.([1-9][a-z]*)$/.cat\1${MANSUFFIX}/}
 
 realall:	${CATPAGES}
 .NOPATH:	${CATPAGES}
@@ -191,7 +192,7 @@ catlinks::	${_t}
 .if (${MKHTML} != "no") && (${MKMAN} != "no")		# {
 htmlinstall:	htmlpages htmllinks
 htmlpages::	# ensure target exists
-HTMLPAGES=	${MAN:C/\.([1-9])$/.html\1/}
+HTMLPAGES=	${MAN:C/\.([1-9][a-z]*)$/.html\1/}
 
 HTMLLINKS=	${MANSUBDIR:?../:}../html%S/%N.html
 HTMLSTYLE=	${MANSUBDIR:?../:}../style.css

Reply via email to