From: millert Date: Wed, 29 Mar 2000 15:44:34 +0000 (+0000) Subject: Run pod2man with the basename of the pod page so the heading is normal. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e76610260af5f2aaa387e09acd1bc37116cb69e0;p=openbsd Run pod2man with the basename of the pod page so the heading is normal. --- diff --git a/lib/libssl/Makefile.bsd-wrapper b/lib/libssl/Makefile.bsd-wrapper index 782252b8b62..382e04b3810 100644 --- a/lib/libssl/Makefile.bsd-wrapper +++ b/lib/libssl/Makefile.bsd-wrapper @@ -1,5 +1,5 @@ # Build wrapper for OpenSSL -# $OpenBSD: Makefile.bsd-wrapper,v 1.14 2000/03/29 09:28:31 deraadt Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.15 2000/03/29 15:44:34 millert Exp $ # Our lndir is hacked; specify a full path to avoid potential conflicts # with the one installed with X11. @@ -179,14 +179,14 @@ MANALL= .PATH: ${.CURDIR}/src/doc/crypto ${.CURDIR}/src/doc/ssl ${.CURDIR}/src/doc/apps .SUFFIXES: .pod .pod.cat3: - pod2man --section=3 --official --center='OpenBSD Reference Manual' \ - --release="OpenBSD `uname -r`" ${.ALLSRC} | \ - nroff -Tascii -man > ${.TARGET} + ( cd `dirname ${.ALLSRC}` && pod2man --section=3 --official \ + --center='OpenBSD Reference Manual' --release="OpenBSD `uname -r`" \ + `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET} .pod.cat1: - pod2man --section=1 --official --center='OpenBSD Reference Manual' \ - --release="OpenBSD `uname -r`" ${.ALLSRC} | \ - nroff -Tascii -man > ${.TARGET} + ( cd `dirname ${.ALLSRC}` && pod2man --section=1 --official \ + --center='OpenBSD Reference Manual' --release="OpenBSD `uname -r`" \ + `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET} .if exists(src-patent)