GNOME Bugzilla – Bug 509539
Building documentation aborts when no .types file is present
Last modified: 2008-01-21 15:42:25 UTC
The transition from this logic (revision 484) http://svn.gnome.org/viewvc/gtk-doc/trunk/gtk-doc.make?r1=484&r2=489 to this logic (revision 491) http://svn.gnome.org/viewvc/gtk-doc/trunk/gtk-doc.make?r1=489&r2=491 appears to have broken support in dist-hook for modules that do not use a $(DOC_MODULE).types file. This causes "make dist" to break. In my case, I can't run "make dist" on Evolution-Data-Server using Gtk-Doc 1.9 because the Camel API documentation does not have a camel.types file.
The problem can be worked around by creating an empty "types" file. e.g. touch evolution-data-server/docs/references/camel/camel.types It just so happens GLib already has an empty glib.types that looks like it's been there forever, which may explain why this problem wasn't reported earlier.
Lowering the severity to 'normal' since a simple workaround exists.
does this help: -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ -cp $(srcdir)/$(DOC_MODULE)-sections.txt +-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ +-cp $(srcdir)/$(DOC_MODULE)-sections.txt (adding - to both cp commands)?
I'm not sure, what does that do exactly?
Nevermind, I looked it up in the make manual. Yes, that works fine.
2008-01-17 Stefan Kost <ensonic@users.sf.net> * gtk-doc.make: * gtk-doc.notmpl.make: Don't fail in dist when no .types file is present. Fixes #509539.
*** Bug 510651 has been marked as a duplicate of this bug. ***