Re: Help needed with man page conversions to asciidoc?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 20, 2021 at 06:46:24PM +0100, Mario Blättermann wrote:
> Just found another problem: After applying the Makefile patches [1]
> and running "autogen.sh" and "configure", the command »make gen-man«
> fails:
> 
> [mariob@t450 util-linux-mariobl]$ make gen-man
> Makefile:15938: warning: overriding recipe for target 'misc-utils/uuidd.8'
> Makefile:15927: warning: ignoring old recipe for target 'misc-utils/uuidd.8'
> Makefile:15938: warning: overriding recipe for target 'misc-utils/getopt.1'
> Makefile:15927: warning: ignoring old recipe for target 'misc-utils/getopt.1'
>  GEN      lib/terminal-colors.d.5
> /bin/sh: line 3: lib/terminal-colors.d.5.adoc: Permission denied
> make: *** [Makefile:15940: lib/terminal-colors.d.5] Error 126

It sounds like $asciidoc_man_cmd is empty. This is my mistake.

> [1] https://github.com/mariobl/util-linux/commit/34455501de74c405b56daa438ee3e839e92fbc17

You also need to define $ASCIIDOCTOR variable in ./configure.ac.
Please add the patch below. I have probably forgot it in my
suggestion.

 Karel


diff --git a/configure.ac b/configure.ac
index 7f59604bd..946222676 100644
--- a/configure.ac
+++ b/configure.ac
@@ -232,6 +232,7 @@ PKG_INSTALLDIR(['${usrlib_execdir}/pkgconfig'])
 
 GTK_DOC_CHECK([1.10])
 AC_PATH_PROG([XSLTPROC], [xsltproc])
+AC_PATH_PROG([ASCIIDOCTOR], [asciidoctor])
 
 linux_os=no
 bsd_os=no


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux