diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-03-07 21:47:00 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-03-07 21:47:00 +0000 |
commit | 8cba38a757e483648f7cd669dc3f86ed6c81219d (patch) | |
tree | 601d647ac7a7f170a07ba10419bbafa08333d662 /usr.sbin/pkg_add | |
parent | 7d975f1f0832db6fb3a514818a64cc6e383f4f78 (diff) |
strip down path from generated manpages.
problem noticed by sturm@
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/Makefile b/usr.sbin/pkg_add/Makefile index fe6c1585b3c..09784104883 100644 --- a/usr.sbin/pkg_add/Makefile +++ b/usr.sbin/pkg_add/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.22 2005/03/01 21:47:19 espie Exp $ +# $OpenBSD: Makefile,v 1.23 2005/03/07 21:46:59 espie Exp $ .include <bsd.own.mk> @@ -59,7 +59,7 @@ _quick3p= MANALL+= $p.cat3p MANSRCALL += $p.3p MANSRC_COOKIE=stamp-mansrc.build -_quick3p+=${.CURDIR}/pod/$p.pod $p +_quick3p+=$p.pod ${.OBJDIR}/$p.3p . ifdef MANPS PSALL+= $p.ps3p . endif @@ -68,7 +68,7 @@ MANSRC_COOKIE= . endif $p.3p: pod/$p.pod - ${POD2MAN} --section=3p --official ${.ALLSRC} $@ + ${POD2MAN} --section=3p --official --name=$p ${.ALLSRC} $@ .endfor .ifndef NOMAN MANALL+=${MAN:S/.1$/.cat1/} @@ -79,7 +79,7 @@ PSALL+= ${MAN:S/.1$/.ps1/} mansrc.build: .if !empty(_quick3p) - cd ${.OBJDIR} && ${POD2MAN} --section=3p --official ${_quick3p} + cd ${.CURDIR}/pod && ${POD2MAN} --section=3p --official ${_quick3p} .endif # Nothing to build |