Fix automake warning about deprecated INCLUDES
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 23 Jul 2013 23:34:03 +0000 (19:34 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 6 Nov 2013 00:54:29 +0000 (19:54 -0500)
Warning was:
    src/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS'
    (or '*_CPPFLAGS')

src/Makefile.am

index 1983fe8..705e9ba 100644 (file)
@@ -1,12 +1,16 @@
 # This file is processed by GNU automake to generate Makefile.in
 
-INCLUDES = -I$(top_srcdir)/pixmaps
-
 bin_PROGRAMS = wmnotify
+
 wmnotify_SOURCES = wmnotify.c wmnotify.h options.c options.h configfile.c configfile.h \
                    xevents.c xevents.h dockapp.c dockapp.h sound.c sound.h \
                    network.c network.h pop3.c pop3.h imap.c imap.h ssl.c ssl.h common.h
 
+wmnotify_CPPFLAGS = \
+    -I$(top_srcdir) \
+    -I$(top_srcdir)/pixmaps \
+    $(AM_CPPFLAGS)
+
 CLEANFILES     = *~
 MAINTAINERCLEANFILES = Makefile.in