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
This commit is contained in:
Christophe Fergeau 2014-06-25 11:56:03 +02:00 committed by Bastien Nocera
parent 229ab01a12
commit 08c9ecdffc

View file

@ -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)