NeilBlue
09-12-2003, 03:55 PM
Hello,
I am trying to generate man pages with help2man using automake. Well I have managed to get it working with the following entry in Makefile.am:
info_TEXINFOS=coldcompress.texi
dist_man_MANS=coldcompress.1
coldcompress.1: ../src/coldcompress$(EXEEXT)
echo "$<"
help2man -o coldcompress.1 $<
This works though I can see a problem if the client machine does not have help2man or even if some of the texinfo tools are missing. Is there a better way to account for this using autoconf/automake?
Thanks
Neil
I am trying to generate man pages with help2man using automake. Well I have managed to get it working with the following entry in Makefile.am:
info_TEXINFOS=coldcompress.texi
dist_man_MANS=coldcompress.1
coldcompress.1: ../src/coldcompress$(EXEEXT)
echo "$<"
help2man -o coldcompress.1 $<
This works though I can see a problem if the client machine does not have help2man or even if some of the texinfo tools are missing. Is there a better way to account for this using autoconf/automake?
Thanks
Neil