summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-07 21:39:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-07 21:39:28 +0000
commit940c851694e8fc40401fd745ab0d3d3c290248d8 (patch)
treed645616a2b882cd23575b8803ed9ad2fb27164cf /share/mk
parent774ef659364a372f3c02cb3f5f2dcca8553d4ce0 (diff)
for cleandir target, clean the postscript man page output even if MANPS is
not set
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.man.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk
index 873c1505126..ceb8e83f99c 100644
--- a/share/mk/bsd.man.mk
+++ b/share/mk/bsd.man.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.man.mk,v 1.23 2001/07/20 23:02:21 espie Exp $
+# $OpenBSD: bsd.man.mk,v 1.24 2003/07/07 21:39:27 deraadt Exp $
# $NetBSD: bsd.man.mk,v 1.23 1996/02/10 07:49:33 jtc Exp $
# @(#)bsd.man.mk 5.2 (Berkeley) 5/11/90
@@ -41,10 +41,10 @@ TBL?= tbl
MANALL= ${MAN:S/.1$/.cat1/g:S/.2$/.cat2/g:S/.3$/.cat3/g:S/.3p$/.cat3p/g:S/.4$/.cat4/g:S/.5$/.cat5/g:S/.6$/.cat6/g:S/.7$/.cat7/g:S/.8$/.cat8/g:S/.9$/.cat9/g:S/.1tbl$/.cat1/g:S/.2tbl$/.cat2/g:S/.3tbl$/.cat3/g:S/.4tbl$/.cat4/g:S/.5tbl$/.cat5/g:S/.6tbl$/.cat6/g:S/.7tbl$/.cat7/g:S/.8tbl$/.cat8/g:S/.9tbl$/.cat9/g}
-.if defined(MANPS)
-
-PSALL= ${MAN:S/.1$/.ps1/g:S/.2$/.ps2/g:S/.3$/.ps3/g:S/.3p$/.ps3p/g:S/.4$/.ps4/g:S/.5$/.ps5/g:S/.6$/.ps6/g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