]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] compile: don't support $(INCLUDES) anymore, it's obsolete
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 20 May 2012 21:29:11 +0000 (23:29 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 21 May 2012 11:37:59 +0000 (13:37 +0200)
commit6b74968cf13acf27731a2afc4872fa6373c726e9
tree6501b9edaab5e4bb87f0ad404275dcb89999b9d2
parent878d61d615bbd1ea852638a9dfbb4e2ca82aebc8
[ng] compile: don't support $(INCLUDES) anymore, it's obsolete

The $(INCLUDES) variables has been since long supplanted and obsoleted
by the $(AM_CPPFLAGS) variable (in documentation since the commit
3d248ab5 of 2001-06-12, "* automake.texi (Program variables): Document
AM_CPPFLAGS. Deprecate INCLUDES", and in code since the commit '1415d22f'
of 2002-07-09, "* automake.in (generate_makefile): Suggest using
AM_CPPFLAGS instead of INCLUDES".

So we can drop support for $(INCLUDES).

* NG-NEWS, doc/automake-ng.texi: Update.
* automake.in: Drop usages of $(INCLUDES) from several calls to
'register_language'.
(generate_makefile): Don't explicitly warn about the definition of
the $(INCLUDES) variable anymore.
* t/pluseq5.sh: Adjusted to avoid using the INCLUDES variable.
* t/werror2.sh: Likewise.
* t/warnopts.sh: Likewise, and remove extra-verbose comment.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NG-NEWS
automake.in
doc/automake-ng.texi
syntax-checks.mk
t/pluseq5.sh
t/warnopts.sh
t/werror2.sh