GNOME Bugzilla – Bug 782099
gtkdoc-mkhtml fails with multiple --path arguments
Last modified: 2017-05-28 17:24:31 UTC
This happens when building gtk3 with --enable-gtk-doc: DOC Building HTML warning: failed to load external entity ""/home/lantw44/gnome/source/gtk+-3/docs/reference/gtk:/home/lantw44/gnome/source/gtk+-3/examples"" cannot parse "/home/lantw44/gnome/source/gtk+-3/docs/reference/gtk:/home/lantw44/gnome/source/gtk+-3/examples" The above messages are shown by xsltproc because gtkdoc-mkhtml doesn't prefix the second argument with --path when passing --path arguments to xsltproc. In function run_xsltproc, file gtkdoc/mkhtml.py, when --path is specified multiple times, options.path becomes a list with multiple items. To make it work with multiple items, we have to add --path for all items in options.path.
Created attachment 350950 [details] [review] mkhtml: allow passing multiple --path arguments to xsltproc
The following fix has been pushed: dacd4cc mkhtml: allow passing multiple --path arguments to xsltproc
Created attachment 352724 [details] [review] mkhtml: allow passing multiple --path arguments to xsltproc
Thanks also fixing this for mkman and mkpdf