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

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

 



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?

Ian.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]