build: Don't distribute clutter-version.h and cogl-defines.h

As with a351ff2af earlier, distributing headers generated at configure
time conflicts with out of tree builds as the distributed headers will
be included first instead of including the generated ones.
This commit is contained in:
Damien Lespiau 2010-06-04 17:17:45 +01:00
parent f6078eca83
commit cef4c8de76
2 changed files with 4 additions and 3 deletions

View File

@ -136,7 +136,6 @@ source_h = \
$(srcdir)/clutter-types.h \
$(srcdir)/clutter-units.h \
$(srcdir)/clutter-util.h \
$(top_builddir)/clutter/clutter-version.h \
$(NULL)
# glib-genmarshal rules
@ -288,7 +287,8 @@ clutter_HEADERS = \
$(top_builddir)/clutter/clutter-enum-types.h \
$(top_srcdir)/clutter/clutter.h
nodist_clutter_HEADERS = \
$(top_builddir)/clutter/clutter-json.h
$(top_builddir)/clutter/clutter-json.h \
$(top_builddir)/clutter/clutter-version.h
DISTCLEANFILES += clutter-version.h
@ -343,6 +343,7 @@ Clutter-@CLUTTER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-@CLUTTER_
--pkg pangocairo \
--output $@ \
$(clutter_HEADERS) \
$(nodist_clutter_HEADERS) \
$(source_c)
BUILT_GIRSOURCES += Clutter-@CLUTTER_API_VERSION@.gir

View File

@ -190,12 +190,12 @@ EXTRA_DIST += stb_image.c
cogl_headers = \
$(cogl_public_h) \
$(srcdir)/cogl-deprecated.h \
cogl-defines.h \
cogl-enum-types.h \
$(NULL)
coglincludedir = $(includedir)/clutter-@CLUTTER_API_VERSION@/cogl
coglinclude_HEADERS = $(cogl_headers)
nodist_coglinclude_HEADERS = cogl-defines.h
if HAVE_INTROSPECTION
Cogl-@CLUTTER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-cogl.la