[Pkg-ofed-commits] [infiniband-diags] 12/17: Replaces INCLUDES with AM_CPPFLAGS

Ana Beatriz Guerrero López ana at moszumanska.debian.org
Sun Sep 4 20:44:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

ana pushed a commit to branch master
in repository infiniband-diags.

commit b8c7024d993914ba9dfd34c69dcdc4c3dc759bb3
Author: Ana Beatriz Guerrero Lopez <ana at debian.org>
Date:   Sun Sep 4 18:32:50 2016 +0200

    Replaces INCLUDES with AM_CPPFLAGS
---
 debian/patches/series                  |  1 +
 debian/patches/update_autotools_option | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 299c441..0523278 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 update_shebang
 comment_test_out
 fix-spelling-errors
+update_autotools_option
diff --git a/debian/patches/update_autotools_option b/debian/patches/update_autotools_option
new file mode 100644
index 0000000..732519c
--- /dev/null
+++ b/debian/patches/update_autotools_option
@@ -0,0 +1,32 @@
+Description: Replace INCLUDES with AM_CPPFLAGS
+Fixes:
+
+Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
+
+libibnetdisc/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
+
+Author: Ana Guerrero Lopez <ana at debian.org>
+Last-Update: 2016-09-04
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,7 +1,7 @@
+ ACLOCAL_AMFLAGS = -I config
+ SUBDIRS = libibnetdisc
+ 
+-INCLUDES = -I$(top_builddir)/include/ -I$(srcdir)/include -I$(includedir) \
++AM_CPPFLAGS = -I$(top_builddir)/include/ -I$(srcdir)/include -I$(includedir) \
+ 	-I$(includedir)/infiniband -I$(top_srcdir)/libibnetdisc/include
+ 
+ if DEBUG
+--- a/libibnetdisc/Makefile.am
++++ b/libibnetdisc/Makefile.am
+@@ -1,7 +1,7 @@
+ 
+ #SUBDIRS = .
+ 
+-INCLUDES = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband
++AM_CPPFLAGS = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband
+ 
+ lib_LTLIBRARIES = libibnetdisc.la
+ sbin_PROGRAMS =

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git



More information about the Pkg-ofed-commits mailing list