Subject: build fails on several generated manpages
To: None <current-users@netbsd.org>
From: john heasley <heas@shrubbery.net>
List: current-users
Date: 11/22/2001 22:34:21
STRIP=/home/tools/bin/sparc64--netbsd-strip /home/tools/bin/nbinstall  -c -p -r -o root -g wheel -m 444  md2.3 /home/release/usr/share/man/man3/md2.3
nbinstall: md2.3: No such file or directory
*** Error code 1

Stop.
make: stopped in /home/src/lib/libc

there are several manpages such as the the md?.3 pages fail to be built.
it appears that the rules for these targets are never invoked.  it appears
that bsd.man.mk doesnt add the page(s) as dependencies to manpages.

.if ${MKMAN} != "no"
md2.3: mdX.3
        sed -e 's/mdX/md2/g' -e 's/MDX/MD2/g' $> > $@
        cat ${>:H}/md2.copyright >> $@

md4.3: mdX.3
        sed -e 's/mdX/md4/g' -e 's/MDX/MD4/g' $> > $@
        cat ${>:H}/md4.copyright >> $@

md5.3: mdX.3
        sed -e 's/mdX/md5/g' -e 's/MDX/MD5/g' $> > $@
        cat ${>:H}/md5.copyright >> $@
.endif

make md5.3 in lib/libc does work and MKMAN is not 'no'.

i have only tried to build on sparc64.  cvs update from last night and
make & other bits in UPDATING have been updated.  ideas?