GNOME Bugzilla – Bug 707928
Set DOC_MODULE_VERSION for gtk-doc
Last modified: 2013-09-15 07:52:15 UTC
This will make gtk-doc install the docs into a versioned directory, so that future API versions can be installed in parallel
Ok but how/where to define this? `git grep DOC_MODULE_VERSION` in gtk+, glib and clutter doesn't yield any results and I couldn't find any mention of such on gtk-doc manual: https://developer.gnome.org/gtk-doc-manual/unstable/ . Most likely this is just me admitting to my 0 skills in gtkdoc. :)
As far as i can see the only place where it's 'documented' is in the example Makefile.am (https://git.gnome.org/browse/gtk-doc/tree/examples/Makefile.am#n14) - the gtk-doc manual doesn't really cover all the Makefile.am variables from what i see. The modules you grep'ed through don't use this feature unfortunately. For clutter I opened a bug as well (bug 706106) but didn't get any response so far. libchamplain would we an example of a module which makes use of DOC_MODULE_VERSION as of https://git.gnome.org/browse/libchamplain/commit/?id=1d400445400ee2e47629fdbfbb4db1a4611e1dcf
Pushed a patch based on your patch to libchamplain. Thanks!
I just now realize that I didn't attach the patch for it and see how this bug report was kind of confusing, sorry for that :-$ Thanks for writing the patch and pushing it!