Open andreasbaumann opened 5 years ago
@andreasbaumann try running make V=1
. The docs do build on my system (Ubuntu 18.04.3) from this repo master, having installed the gtk-doc-tools
package.
From what I briefly tested, the whole docs/xml
directory is created by a call to gtkdoc-mkdb
.
That call is made from toplevel gtk-doc.make
included from docs/Makefile.am
here:
https://github.com/kupferlauncher/keybinder/blob/13b4dbd58497311652e3f703aed55e9659adfb4c/docs/Makefile.am#L84-L85
That gtk-doc.make
isn't in the repo; as the comment suggests, it's put there somewhere during ./autogen.sh
(hell I despise GNU Autotools).
Hope that helps.
So,
make -j <n>
with n>1 might be a problem here.. thanks :-)
Aha. Found it. Obviously in newer versions of gtkdoc it builds a xml/object_index.sgml
and no longer a xml/tree_index.sgml
(as referenced in keybinder-docs.sgml).
So the following snippet in keybinder-docs.sgml
should contain:
Now the problem is: how can you make documentation build with different versions
of gtkdoc?
I should say I'm using gtk-doc 1.31 on Archlinux.
Now the problem is: how can you make documentation build with different versions of gtkdoc?
Oh geez. @andreasbaumann can you please poke the gnome people (e.g. on IRC) on what we're supposed to do in this situation?
@GNOME thanks for breaking app compat again! You're the best!..
Have a look at their feedback in https://gitlab.gnome.org/GNOME/gtk-doc/issues/103 :
"In your case the fix is simple - in https://github.com/kupferlauncher/keybinder/blob/master/docs/keybinder-docs.sgml#L24 - just don't include files you don't need anyway. From a quick look at your sources your library is not providing gobjects - its a plain c library."
version 0.3.2
./configure --prefix=/usr --enable-gtk-doc make
results in:
Where are those SGML file supposed to come from?