diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-05-03 18:56:57 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-05-06 12:38:52 +0200 |
commit | c62b42b64c588c98d9b1f370d208056e82b39d8b (patch) | |
tree | cbcaa684f730b0e7375fe8f6b4a8c123a9ba9387 /NG-NEWS | |
parent | 42b0536dcc6327b3f09f711671847ac7db879d8c (diff) | |
download | automake-c62b42b64c588c98d9b1f370d208056e82b39d8b.tar.gz |
[ng] dist: rename some non-public vars to make clear they are internal
The variable $(DISTFILES), $(DIST_COMMON) and $(DIST_SOURCES) have never
been documented, and they were always intended to be internal variables.
This is absolutely not evident from their names, though. So rename them
like this:
DISTFILES => am__dist_files
DIST_COMMON => am__dist_common
DIST_SOURCES => am__dist_sources
* NG-NEWS: Update.
* automake.in: Adjust code and comments.
* lib/am/configure.am, lib/am/data.am, lib/am/java.am, lib/am/lisp.am,
lib/am/python.am, lib/am/scripts.am, lib/am/texi-vers.am: Likewise.
* lib/am/distdir.am: Likewise, and related variable renamings.
And throw in a few improvements to comments since we are at it.
* Several tests: Adjust.
* syntax-checks.mk: Add rules (and supporting variables) verifying
that the obsolete 'DIST*' variables are actually not used anymore.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'NG-NEWS')
-rw-r--r-- | NG-NEWS | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -127,6 +127,17 @@ Miscellaneous variable $(AM_MAKEFLAGS) has been removed, and its content is no more passed to recursive make invocations. +* The variables $(DISTFILES), $(DIST_COMMON) and $(DIST_SOURCES) had + never been documented in mainline Automake, and were always intended + to be internal variables. But that was not clear from their names. + So we have renamed rename like this: + + DISTFILES => am__dist_files + DIST_COMMON => am__dist_common + DIST_SOURCES => am__dist_sources + + Do not use any of these variables in your Makefiles! + ----- Copyright (C) 2012 Free Software Foundation, Inc. |