From 08c9ecdffc6aa82f0616deac853e35a989477295 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 25 Jun 2014 11:56:03 +0200 Subject: [PATCH] printers: Use AM_CPPFLAGS rather than INCLUDES This is deprecated in newer automake versions, and this causes warnings with automake 1.14: panels/printers/Makefile.am:3: warning: 'INCLUDES' is the old name for AM_CPPFLAGS' (or '*_CPPFLAGS') https://bugzilla.gnome.org/show_bug.cgi?id=732189 --- panels/printers/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panels/printers/Makefile.am b/panels/printers/Makefile.am index 63a33b4bc..3e3419406 100644 --- a/panels/printers/Makefile.am +++ b/panels/printers/Makefile.am @@ -1,6 +1,6 @@ cappletname = printers -INCLUDES = \ +AM_CPPFLAGS = \ $(PANEL_CFLAGS) \ $(PRINTERS_PANEL_CFLAGS) \ $(CUPS_CFLAGS) \ @@ -48,6 +48,7 @@ libprinters_la_SOURCES = \ cc-printers-panel.c \ cc-printers-panel.h +libprinters_la_CPPFLAGS = $(AM_CPPFLAGS) libprinters_la_LIBADD = $(PRINTERS_PANEL_LIBS) $(PANEL_LIBS) $(CUPS_LIBS) $(SMBCLIENT_LIBS) resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/printers.gresource.xml)