docs: Disable deprecations when building the object scanner
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 3 May 2012 10:28:04 +0000 (11:28 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 3 May 2012 10:28:04 +0000 (11:28 +0100)
We know it's going to be using deprecated symbols, since it has to
introspect all the GObject classes we expose.

doc/reference/clutter/Makefile.am

index 49888d7..bce244a 100644 (file)
@@ -166,7 +166,7 @@ expand_content_files = \
 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
 
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/clutter -I$(top_builddir) -I$(top_builddir)/clutter $(CLUTTER_CFLAGS)
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/clutter -I$(top_builddir) -I$(top_builddir)/clutter $(CLUTTER_CFLAGS) -DCLUTTER_DISABLE_DEPRECATION_WARNINGS
 GTKDOC_LIBS = $(top_builddir)/clutter/libclutter-@CLUTTER_API_VERSION@.la $(CLUTTER_LIBS)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.