Handle manual page compression more clever.

This commit is contained in:
tron 1998-02-28 18:14:09 +00:00
parent 18a2a23c83
commit 4e49e24d5c
2 changed files with 6 additions and 7 deletions

View file

@ -3,7 +3,7 @@
# Date created: 26 September 1994
# Whom: se
#
# $NetBSD: Makefile,v 1.2 1998/02/26 23:32:16 tron Exp $
# $NetBSD: Makefile,v 1.3 1998/02/28 18:14:09 tron Exp $
# $FreeBSD Id: Makefile,v 1.5 1997/11/26 23:09:14 jseger Exp
#
@ -20,8 +20,10 @@ NO_CONFIGURE= yes
CAT1= bonnie.0
MAN1= bonnie.1
# Kludge until "bsd.port.mk" gets fixed.
# MANZ is handled automatically
.if defined(MANZ)
MANCOMPRESSED= 1
.endif
post-extract:
${MV} ${WRKSRC}/Bonnie.c ${WRKSRC}/bonnie.c

View file

@ -1,6 +1,6 @@
--- Makefile.orig Wed Aug 21 17:19:11 1991
+++ Makefile Fri Feb 27 00:26:29 1998
@@ -1,7 +1,10 @@
+++ Makefile Sat Feb 28 18:59:23 1998
@@ -1,7 +1,7 @@
-CC = cc
-CFLAGS = -O2
@ -11,7 +11,4 @@
+MANDIR=${PREFIX}/man
-Bonnie:
+# Kludge until "bsd.port.mk" gets fixed.
+MANZ=1
+
+.include <bsd.prog.mk>