From: niklas Date: Tue, 26 Mar 1996 22:50:34 +0000 (+0000) Subject: Revert last change which lost the functionality introduced in rev 1.4 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=030834904e0e07d7c22fd01714f3c6c366b2d96e;p=openbsd Revert last change which lost the functionality introduced in rev 1.4 --- diff --git a/share/mk/bsd.man.mk b/share/mk/bsd.man.mk index 6d598bb1660..bfd35b311df 100644 --- a/share/mk/bsd.man.mk +++ b/share/mk/bsd.man.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.man.mk,v 1.9 1996/03/05 13:30:14 mickey Exp $ +# $OpenBSD: bsd.man.mk,v 1.10 1996/03/26 22:50:34 niklas 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 @@ -35,7 +35,8 @@ maninstall: .if defined(MANALL) @for page in ${MANALL}; do \ dir=${DESTDIR}${MANDIR}$${page##*.cat}; \ - instpage=$${dir}${MANSUBDIR}/$${page%.*}.0${MCOMPRESSSUFFIX}; \ + base=$${page##*/}; \ + instpage=$${dir}${MANSUBDIR}/$${base%.*}.0${MCOMPRESSSUFFIX}; \ if [ X"${MCOMPRESS}" = X ]; then \ echo ${MINSTALL} $$page $$instpage; \ ${MINSTALL} $$page $$instpage; \