diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2003-08-18 22:39:16 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2003-08-18 22:39:16 +0000 |
commit | 507d936637f55319bef82cfcc05a65335664471d (patch) | |
tree | 4ee23379c2d5aa431409acb45f9035e3bde0f4f6 | |
parent | 3f69e411df9d77da234c42b1b8798c4ed66c86ef (diff) |
take PSDIR into account. Noticed by David Krause
-rw-r--r-- | share/mk/bsd.man.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk index 18c95b9bb3d..6a0c7badc3d 100644 --- a/share/mk/bsd.man.mk +++ b/share/mk/bsd.man.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.man.mk,v 1.26 2003/08/07 10:54:39 espie Exp $ +# $OpenBSD: bsd.man.mk,v 1.27 2003/08/18 22:39:15 espie 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 @@ -82,12 +82,12 @@ install_manpage_fragment= \ .endif maninstall: -.for v s t in MANALL .cat .0 PSALL .ps .ps +.for v d s t in MANALL ${MANDIR} .cat .0 PSALL ${PSDIR} .ps .ps . if defined($v) @for page in ${$v}; do \ set -- ${MANSUBDIR}; \ subdir=$$1; \ - dir=${DESTDIR}${MANDIR}$${page##*$s}; \ + dir=${DESTDIR}$d$${page##*$s}; \ base=$${page##*/}; \ instpage=$${dir}$${subdir}/$${base%.*}$t${MCOMPRESSSUFFIX}; \ ${install_manpage_fragment}; \ |