summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2014-12-22 13:39:30 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2014-12-22 17:55:56 +0100
commit912383451a4a394383a8e95240e3e98ee68faf72 (patch)
treee38fc6729d4029993aa51e180aea44522aaae276 /lib
parent2c0ffb86f2c7df3476cb9bc5a6e6ff724d95aa01 (diff)
downloadautomake-912383451a4a394383a8e95240e3e98ee68faf72.tar.gz
cleanup: refactor code to initialize DIST_COMMON
There is not need to make that an Automake variable early, only to later get and munge its contents, and use the new content to redefine the variable. * bin/automake.in (@dist_common): New global variable. (push_dist_common, handle_dist): Use it. (handle_dist): Define am__DIST_COMMON instead of DIST_COMMON directly. (initialize_per_input): Reset it to empty. ($configure_dist_common): Turn this scalar variable ... (@configure_dist_common): ... into this array variable. (handle_dist): Adjust. (required_file_check_or_copy): Update and wrap some comments. * lib/am/distdir.am (DIST_COMMON): Append $(am__DIST_COMMON). * t/distcom2.sh: Tighten a little. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/am/distdir.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/am/distdir.am b/lib/am/distdir.am
index 0c019605c..5a13055fc 100644
--- a/lib/am/distdir.am
+++ b/lib/am/distdir.am
@@ -14,6 +14,7 @@
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
+DIST_COMMON += $(am__DIST_COMMON)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
if %?TOPDIR_P%