display: 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 3679436cff
commit 492ebb57d5

View file

@ -34,7 +34,7 @@ desktopdir = $(datadir)/applications
Desktop_in_files = gnome-display-panel.desktop.in Desktop_in_files = gnome-display-panel.desktop.in
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
INCLUDES = $(PANEL_CFLAGS) \ AM_CPPFLAGS = $(PANEL_CFLAGS) \
$(DISPLAY_PANEL_CFLAGS) \ $(DISPLAY_PANEL_CFLAGS) \
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" -DGNOMELOCALEDIR="\"$(datadir)/locale\""