summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-12-04 10:52:43 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-12-04 10:54:35 +0000
commit26a05526a8df91422f9ac94e0c2f615a59eeedde (patch)
tree67ca12eeb7232cb88b6a1072ab06627914dbd6ac
parentb5c3f795b57f754815d29f1d8a9a2f4c8c305475 (diff)
downloadgupnp-av-26a05526a8df91422f9ac94e0c2f615a59eeedde.tar.gz
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
-rw-r--r--doc/Makefile.am3
1 files changed, 2 insertions, 1 deletions
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.