From eb55397423181272914c4bdb861eb55b72808dc6 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 11 Jun 2009 13:24:34 +0100 Subject: [PATCH] [build] Fix distcheck for the json-glib internal copy Since commit d743aeaa updated the internal copy of JSON-GLib and added a new private header file, we need to fix the build to avoid a distcheck failure. --- clutter/json/Makefile.am | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/clutter/json/Makefile.am b/clutter/json/Makefile.am index 263a332b2..66008ee06 100644 --- a/clutter/json/Makefile.am +++ b/clutter/json/Makefile.am @@ -13,16 +13,18 @@ source_h = \ $(top_srcdir)/clutter/json/json-parser.h \ $(top_srcdir)/clutter/json/json-types.h +source_h_priv = \ + $(top_srcdir)/clutter/json/json-types-private.h + noinst_LTLIBRARIES = libclutter-json.la -libclutter_json_la_SOURCES = $(source_c) $(source_h) +libclutter_json_la_SOURCES = $(source_c) $(source_h) $(source_h_priv) +libclutter_json_la_CPPFLAGS = $(CLUTTER_CFLAGS) $(CLUTTER_DEBUG_CFLAGS) INCLUDES = \ -I$(top_srcdir) \ - -DG_DISABLE_DEPRECATED \ - $(GCC_FLAGS) \ - $(CLUTTER_CFLAGS) \ - $(CLUTTER_DEBUG_CFLAGS) + -DG_LOG_DOMAIN=\"Clutter-Json\" \ + -DG_DISABLE_DEPRECATED clutterjsondir = $(includedir)/clutter-@CLUTTER_MAJORMINOR@/clutter/json clutterjson_HEADERS = $(source_h)