(3.24) Do not distribute generated files
(This change is not applicable to GTK 4, which dropped support for Autotools builds.)
This continues from commit dad773b1, which was an incomplete solution: it only touched gtk/
, and not gdk/
or demo/example/test code.
In particular this seems to solve #357 (closed): the build done during distcheck
in _build/sub
is exactly the scenario that Eitan and Martin reported (built from a tarball with srcdir != builddir) and I correctly get <enumeration name="EventType">
in the generated GIR.
Edited by Simon McVittie