[nautilus-ideviceinfo/gtk3] build-sys: Don't use deprecated INCLUDES



commit dc5acb0b9877845ee06dece95f6781f9cbd77c0a
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Thu Dec 11 15:37:04 2014 +0100

    build-sys: Don't use deprecated INCLUDES
    
    automake warns that it should be replaced by AM_CPPFLAGS. This commit
    uses AM_CPPFLAGS for actual preprocessor directives, and AM_CFLAGS for
    more generic CFLAGS (which could contain preprocessor directives
    though).

 src/Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 38d8200..f15decc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,10 +1,12 @@
-INCLUDES = \
+AM_CPPFLAGS = \
        -DG_LOG_DOMAIN=\"nautilus-ideviceinfo\" \
        -DDATADIR=\"$(datadir)\" \
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
        -DNAUTILUS_EXTENSION_DIR=\"$(NAUTILUS_EXTENSION_DIR)\" \
        -I$(top_srcdir) \
-       -I$(top_builddir) \
+       -I$(top_builddir)
+
+AM_CFLAGS = \
        $(GLOBAL_CFLAGS) \
        $(libimobiledevice_CFLAGS) \
        $(libglib2_CFLAGS) \


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