In attempting to build a port for OpenBSD, I found that installman.sh was not installing the man pages, but instead claiming that there are "No manpages present". The following patch fixes the problem. --- script/installman.sh.orig Mon Oct 3 15:42:21 2005 +++ script/installman.sh Mon Oct 3 15:42:42 2005 @@ -13,7 +13,7 @@ GROFF=$4 # sh cmd line, including options fi -if test ! -d ../docs/manpages; then +if test ! -d $SRCDIR../docs/manpages; then echo "No manpages present. SVN development version maybe?" exit 0 fi
Created attachment 1473 [details] patch to script/installman.sh Patch file as an attachment.
I'm ok with the patch but I'm trying to understand the condition under which it occurs. Are you buildking outside of the source directory?
Yes, that's right, I'm making an OpenBSD port, which builds outside of the source directory.
David. This has been fixed for 3.0.20b. Marc Balmer <marc@msys.ch> sent me an identical patch. Are you guys working together on the OpenBSD port?
Thanks for fixing the problem. No I wasn't working with anyone else, but I was adapting the existing OpenBSD port for the new version of Samba, so it's not too surprising that we both encountered the same problem.