[libvirt] [PATCH] docs: Create html documentation even if XHTML1 DTD is not available to validate

Ian Campbell Ian.Campbell at citrix.com
Fri Nov 28 15:12:57 UTC 2014

On Fri, 2014-11-28 at 14:36 +0000, Ian Campbell wrote:
> On a Debian system lacking the w3c-dtd-xhtml package the build fails

On a somewhat related note on a system without xsltproc configure
succeeds but the build does not:
        $ make -C docs csharp.html
        make: Entering directory '/local/scratch/ianc/devel/libvirt.git/docs'
        missing XHTML1 DTD
        /bin/cat: csharp.html.tmp: No such file or directory
        Makefile:2353: recipe for target 'csharp.html' failed
        make: *** [csharp.html] Error 1
        make: Leaving directory '/local/scratch/ianc/devel/libvirt.git/docs'
This is because the %.html.tmp silently does nothing if xsltproc isn't
available. (aside: the use of @ all over docs/Makefile.am makes it quite
hard to diagnose this sort of issue...)

Is it valid to just cp %.html.in in this case or is the xsltproc stuff
doing something essential?

If copying isn't valid then is the preference to fail at configure time
if xsltproc cannot be found or to not build the docs?


More information about the libvir-list mailing list