On Sat, Jan 13, 2018 at 04:27:49AM +0000 I heard the voice of
Mowgli Assor, and lo! it spake thus:
> 
> [...] but I cannot easily find a way to skip the whole manpage
> target and just move on to try to compile everything (which I really
> would like).

Well, the short answer here is 'make ctwm', to just build the binary.
That'll at least get you through the day.


But we certainly need to figure out what's going on down the line.
It's extremely odd that you'd wind up even hitting the path that goes
through XML to generate the manpage; that should probably never
happen.  I s'pose it's possible there's a case where you have an old
enough asciidoctor that can't do manpages (but can do the XML), and no
asciidoc, so it winds up falling into that case.  I'd be interested to
see the cmake output (e.g, `make clean cmake`) to see what it dug up.

But at any rate, that target should work fine too.  With some tweakery
on my system so I fall back to it, it works fine:

        Scanning dependencies of target man
        [ 96%] Generating ctwm.1.xml with asciidoctor (docbook45,manpage)
        [ 97%] Generating ctwm.1 with xmlto
            [...]
        Note: Writing ctwm.1
        [ 98%] Compressing ctwm.1.gz
        [100%] Built target man



I look very suspiciously at:

> make[3]: *** No rule to make target 'ctwm1.xml', needed by 'ctwm.1'. Stop.
                                       ^^^^^^^^^
That should be ctwm.1.xml.  Don't immediately see how that could wind
up getting written out, but it certainly would stop things real quick.


> Interesting notes from the make are that when it runs "xmlto" you
> get a CMake warning "Using xmlto manpage generation. This will
> compromise the quality of PDF output" but that is only a warning (in
> cmake_files/find_asciidoc_bits.cmake:316).

Right, that's intentional.  The whole chain through the DocBook XML
output was really added for generating the manual in PDF[0].  To make
a manpage from it, you have to change the DocBook document type it
uses, and the result is the PDF looks worse.  So, that wouldn't cause
the problem here.




[0] Which no default targets ever do, I'm pretty sure nobody but me
    has ever done, and until I did it just now I probably haven't
    since I wrote the targets for it, but it IS possible.  I'm allowed
    to have a little fun :)


-- 
Matthew Fuller     (MF4839)   |  [email protected]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.

Reply via email to