From a6e712f646717d6783320b26f2ee0287953a2495 Mon Sep 17 00:00:00 2001 From: jschauma Date: Sun, 11 Apr 2004 18:14:53 +0000 Subject: Rethink the nroff dilemma: only regen on SunOS or AIX - the pre-generated pages _are_ mandoc type pages, so we can use them on more platforms than just Irix. --- security/audit-packages/Makefile | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'security') diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile index ea6b4cdf9eb..d21ca2ee4e9 100644 --- a/security/audit-packages/Makefile +++ b/security/audit-packages/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2004/04/09 16:06:59 jschauma Exp $ +# $NetBSD: Makefile,v 1.46 2004/04/11 18:14:53 jschauma Exp $ DISTNAME= audit-packages-1.29 CATEGORIES= security pkgtools @@ -20,14 +20,6 @@ INSTALLATION_DIRS= man/cat8 man/man8 sbin .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX" -# This doesn't create readable manual pages. "mandoc" should be added -# to zoularis. -NROFF= nroff -man -.else -NROFF= nroff -mandoc -.endif - do-build: @for f in audit-packages audit-packages.0 audit-packages.8 \ download-vulnerability-list; do \ @@ -46,10 +38,10 @@ do-build: -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \ ${FILESDIR}/$$f > ${WRKSRC}/$$f; \ done -.if ${OPSYS} == "IRIX" - ${CP} ${FILESDIR}/audit-packages.0 ${WRKSRC}/audit-packages.0 -.else - ${NROFF} ${WRKSRC}/audit-packages.8 >${WRKSRC}/audit-packages.0 +.if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX" + # pre-created man-pages are "mandoc" pages, these OS need "man", + # so regen the .0 page + nroff -man ${WRKSRC}/audit-packages.8 >${WRKSRC}/audit-packages.0 .endif do-install: -- cgit v1.2.3