From 26a05526a8df91422f9ac94e0c2f615a59eeedde Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 4 Dec 2014 10:52:43 +0000 Subject: build: Use AM_C[PP]FLAGS instead of INCLUDES INCLUDES is deprecated. This fixes building with AUTOMAKE_OPTIONS=-Wall. https://bugzilla.gnome.org/show_bug.cgi?id=741103 --- doc/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 9d1f9b1..749eef5 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -78,7 +78,8 @@ expand_content_files= # signals and properties. # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) -INCLUDES=-I$(top_srcdir) $(LIBGUPNP_CFLAGS) +AM_CPPFLAGS = -I$(top_srcdir) +AM_CFLAGS = $(LIBGUPNP_CFLAGS) GTKDOC_LIBS=$(top_builddir)/libgupnp-av/libgupnp-av-1.0.la $(LIBGUPNP_LIBS) # This includes the standard gtk-doc make rules, copied by gtkdocize. -- cgit v1.2.1