Skip to content

Commit

Permalink
Support NetBSD man/html entries. Fixes deforaos-*.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperkin committed Jul 26, 2016
1 parent 4d2a246 commit ad4f6ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mk/install/install.mk
@@ -1,4 +1,4 @@
# $NetBSD: install.mk,v 1.68 2016/04/10 15:58:02 joerg Exp $
# $NetBSD: install.mk,v 1.69 2016/07/26 08:41:36 jperkin Exp $
#
# This file provides the code for the "install" phase.
#
Expand Down Expand Up @@ -342,7 +342,7 @@ install-strip-debug: plist
_PLIST_REGEXP.info= \
^([^\/]*\/)*${PKGINFODIR}/[^/]*(\.info)?(-[0-9]+)?(\.gz)?$$
_PLIST_REGEXP.man= \
^([^/]*/)+(man[1-9ln](am|f)?/[^/]*\.[1-9ln](am|f)?|cat[1-9ln](am|f)?/[^/]*\.[0-9])(\.gz)?$$
^([^/]*/)+((man|html)[1-9ln](am|f)?/[^/]*\.([1-9ln](am|f)?|html)|cat[1-9ln](am|f)?/[^/]*\.[0-9])(\.gz)?$$

_DOC_COMPRESS= \
${PKGSRC_SETENV} PATH=${PATH:Q} \
Expand Down
4 changes: 2 additions & 2 deletions mk/plist/plist-man.awk
@@ -1,4 +1,4 @@
# $NetBSD: plist-man.awk,v 1.11 2016/04/11 12:29:53 jperkin Exp $
# $NetBSD: plist-man.awk,v 1.12 2016/07/26 08:41:36 jperkin Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
Expand Down Expand Up @@ -77,7 +77,7 @@ BEGIN {
PKGMANDIR = getenv("PKGMANDIR", "man")
CATMAN_SECTION_SUFFIX = getenv("CATMAN_SECTION_SUFFIX", "no")
CATPAGE_REGEX = "cat[1-9ln](am|f)?/[^/]*\\.[0-9ln](am|f)?"
MANPAGE_REGEX = "man[1-9ln](am|f)?/[^/]*\\.[1-9ln](am|f)?"
MANPAGE_REGEX = "(man|html)[1-9ln](am|f)?/[^/]*\\.([1-9ln](am|f)?|html)"
CATORMAN_REGEX = "(" MANPAGE_REGEX "|" CATPAGE_REGEX ")"
}

Expand Down

0 comments on commit ad4f6ce

Please sign in to comment.