summaryrefslogtreecommitdiff
path: root/plparse/tests
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2016-12-19 08:21:34 +0000
committerPhilip Withnall <withnall@endlessm.com>2016-12-19 11:05:21 +0000
commit9a163bfd6c5be1b2c5cd19f82e041c8416eb2942 (patch)
treed2ab80e0973f06883a7d17aff93a2f8b41e9007d /plparse/tests
parent0d0fd19226bd8a519946e0a2857482bdd30c900e (diff)
downloadtotem-pl-parser-9a163bfd6c5be1b2c5cd19f82e041c8416eb2942.tar.gz
build: Use AM_CPPFLAGS instead of INCLUDES
INCLUDES is deprecated. This fixes an automake warning. https://bugzilla.gnome.org/show_bug.cgi?id=776259
Diffstat (limited to 'plparse/tests')
-rw-r--r--plparse/tests/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/plparse/tests/Makefile.am b/plparse/tests/Makefile.am
index b15818b..ef0a886 100644
--- a/plparse/tests/Makefile.am
+++ b/plparse/tests/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/Makefile.decl
-INCLUDES = \
+AM_CPPFLAGS = \
-I$(top_srcdir)/plparse \
-DTEST_SRCDIR=\""$(srcdir)/"\"
@@ -18,7 +18,6 @@ parser_CPPFLAGS = \
-I$(top_builddir)/plparse \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\"\
$(DISABLE_DEPRECATED) \
- $(INCLUDES) \
$(AM_CPPFLAGS)
parser_CFLAGS = \
$(TOTEM_PLPARSER_CFLAGS)\
@@ -38,7 +37,6 @@ disc_LDADD = \
$(TOTEM_PLPARSER_LIBS)
disc_CPPFLAGS = \
$(common_defines) \
- $(INCLUDES) \
$(AM_CPPFLAGS)
disc_CFLAGS = \
$(WARN_CFLAGS) \