build: Do not distribute clutter-json.h

clutter-jon.h is generated at configure time, we should not distribute it.

This caused a build issue when compiling from a tarballs and out of tree
builds as we ended up with two clutter-json.h one in $(top_srcdir)/json
and the other in $(top_builddir)/json and picked up the wrong one
($(top_srcdir)/json is included first in the include search path).
This commit is contained in:
Damien Lespiau 2010-06-03 11:59:48 +01:00
parent 23084b9768
commit a351ff2afc

View File

@ -285,9 +285,11 @@ EXTRA_LTLIBRARIES = libclutter-@CLUTTER_WINSYS@-@CLUTTER_API_VERSION@.la
clutterdir = $(includedir)/clutter-$(CLUTTER_API_VERSION)/clutter
clutter_HEADERS = \
$(source_h) \
$(top_builddir)/clutter/clutter-json.h \
$(top_builddir)/clutter/clutter-enum-types.h \
$(top_srcdir)/clutter/clutter.h
nodist_clutter_HEADERS = \
$(top_builddir)/clutter/clutter-json.h
DISTCLEANFILES += clutter-version.h
EXTRA_DIST += clutter-version.h.in