From d805694c3662d558a6c91a493c894ad948ec6dea Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 25 Feb 1998 01:35:16 +0000 Subject: Don't add ${DOC}.ascii* to CLEANFILES twice. --- share/mk/bsd.doc.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'share/mk/bsd.doc.mk') diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk index 72b8d2a..7d3b3d4 100644 --- a/share/mk/bsd.doc.mk +++ b/share/mk/bsd.doc.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91 -# $Id: bsd.doc.mk,v 1.40 1997/11/02 18:50:53 wosch Exp $ +# $Id: bsd.doc.mk,v 1.41 1997/11/09 15:03:11 wosch Exp $ # # The include file handles installing BSD troff documents. # @@ -96,13 +96,13 @@ print: ${DFILE} .endif .endif -CLEANFILES+= ${DOC}.${PRINTERDEVICE} \ - ${DOC}.${PRINTERDEVICE}${DCOMPRESS_EXT} \ - ${DOC}.ascii ${DOC}.ascii${DCOMPRESS_EXT} \ +.if ${PRINTERDEVICE} != "ascii" && ${PRINTERDEVICE} != "ps" +CLEANFILES+= ${DOC}.${PRINTERDEVICE} ${DOC}.${PRINTERDEVICE}${DCOMPRESS_EXT} +.endif +CLEANFILES+= ${DOC}.ascii ${DOC}.ascii${DCOMPRESS_EXT} \ ${DOC}.ps ${DOC}.ps${DCOMPRESS_EXT} \ ${DOC}.html ${DOC}-*.html - FILES?= ${SRCS} realinstall: .if ${PRINTERDEVICE} == "html" -- cgit v1.1