GNOME Bugzilla – Bug 626107
glibconfig.h is being disted
Last modified: 2010-08-06 20:41:51 UTC
Uncovered by bug #625988. This is enough to ensure that glibconfig.h gets included in the tarball: DISTCLEANFILES += glibconfig-stamp glibconfig.h BUILT_SOURCES += glibconfig-stamp configexecincludedir = $(libdir)/glib-2.0/include configexecinclude_HEADERS = glibconfig.h I would have thought that having it on the DISTCLEANFILES list would be enough to ensure that it's not, but that is not the case. Probably this is related to the weird hack we do to avoid rebuilding the universe every time ./configure is re-run -- it prevents us from having glibconfig.h directly listed in BUILT_SOURCES, so automake probably thinks that it is appropriate to dist it.
I've figured out how to disable disting it, but it turns out that something things *depend* on glibconfig.h being disted -- for example, gtk-doc only looks in the srcdir for headers to scan....
Fixed it And apparently gtk-doc isn't expected to work properly for out-of-tree building anyway, so *shrug*.