[gupnp-av] build: Use AM_C[PP]FLAGS instead of INCLUDES



commit 26a05526a8df91422f9ac94e0c2f615a59eeedde
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Thu Dec 4 10:52:43 2014 +0000

    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 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]