]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] rename: am__dist_* -> am.dist.*
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 21 Jul 2012 09:38:23 +0000 (11:38 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 21 Jul 2012 11:54:59 +0000 (13:54 +0200)
Here is the complete list of renames:

    am__dist_common        ->   am.dist.common-files
    am__dist_sources       ->   am.dist.sources
    am__dist_files         ->   am.dist.all-files
    am__dist_files_1       ->   am.dist.files-tmp1
    am__dist_files_2       ->   am.dist.files-tmp2
    am__dist_files_cooked  ->   am.dist.files-cooked
    am__dist_parent_dirs   ->   am.dist.parent-dirs

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
45 files changed:
NG-NEWS
automake.in
lib/am/configure.am
lib/am/data.am
lib/am/distdir.am
lib/am/java.am
lib/am/lisp.am
lib/am/python.am
lib/am/scripts.am
lib/am/texi-vers.am
syntax-checks.mk
t/autodist-aclocal-m4.sh
t/autodist-configure-no-subdir.sh
t/autodist-stamp-vti.sh
t/autodist-subdir.sh
t/autodist.sh
t/colon5.sh
t/colon7.sh
t/confh.sh
t/confh8.sh
t/depdist.sh
t/dist-auxfile.sh
t/distcom-subdir.sh
t/distcom2.sh
t/distcom3.sh
t/distcom4.sh
t/distcom5.sh
t/hdr-vars-defined-once.sh
t/insh2.sh
t/libobj7.sh
t/nodist.sh
t/nodist3.sh
t/pr2.sh
t/substref.sh
t/test-driver-is-distributed.sh
t/txinfo.sh
t/txinfo2.sh
t/txinfo8.sh
t/vtexi3.sh
t/vtexi4.sh
t/yacc-basic.sh
t/yacc-cxx.sh
t/yacc-d-basic.sh
t/yacc-d-cxx.sh
t/yacc-lex-cxx-alone.sh

diff --git a/NG-NEWS b/NG-NEWS
index 22e2dfc52007111989eb1840e79baa805c174883..ca919278ab55804b1cca08e36ffdd7349bba8428 100644 (file)
--- a/NG-NEWS
+++ b/NG-NEWS
@@ -217,9 +217,9 @@ Distribution
   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
+    DISTFILES     =>  am.dist.all-files
+    DIST_COMMON   =>  am.dist.common-files
+    DIST_SOURCES  =>  am.dist.sources
 
   Do not use any of these variables in your Makefiles!
 
index 6e7da4b39e8cf955b8f7c9b4a6b7689c538d9648..4b2faf978e40f5c4fd3cc8b3b57669bc7dadaba0 100644 (file)
@@ -3375,10 +3375,10 @@ sub handle_dist ()
   # check that.  But if the file is in a subdir without a Makefile,
   # we want to distribute it here if we are doing '.'.  Ugly!
   # Also, in some corner cases, it's possible that the following code
-  # will cause the same file to appear in the $(am__dist_common) variables
-  # of two distinct Makefiles; but this is not a problem, since the
-  # 'distdir' target in 'lib/am/distdir.am' can deal with the same
-  # file being distributed multiple times.
+  # will cause the same file to appear in the $(am.dist.common-files)
+  # variables of two distinct Makefiles; but this is not a problem,
+  # since the 'distdir' target in 'lib/am/distdir.am' can deal with
+  # the same file being distributed multiple times.
   # See also automake bug#9651.
   if ($relative_dir eq '.')
     {
@@ -6830,7 +6830,7 @@ sub require_conf_file_with_macro ($$$@)
 
 ################################################################
 
-# Push a list of files onto dist_common.
+# Push a list of files onto @dist_common.
 sub push_dist_common
 {
   prog_error "push_dist_common run after handle_dist"
@@ -6930,7 +6930,7 @@ sub generate_makefile ($$)
 
   # Variables used by distdir.am and tags.am.
   define_variable ('SOURCES', INTERNAL, @sources);
-  define_variable ('am__dist_sources', INTERNAL, @dist_sources)
+  define_variable ('am.dist.sources', INTERNAL, @dist_sources)
     unless option 'no-dist';
 
   handle_texinfo;
index 9c55e6e3bb51d0164f12de3b9dc9772757249081..34b2d32d7b12be103df40c5fa13259fdf8fa958b 100644 (file)
@@ -71,7 +71,7 @@
 ## Avoid the "deleted header file" problem for the dependencies.
 ?HAVE-MAKEFILE-IN-DEPS?%MAKEFILE-IN-DEPS%:
 
-am__dist_common += %MAKEFILE-AM%
+am.dist.common-files += %MAKEFILE-AM%
 
 
 ## --------------------------- ##
@@ -83,7 +83,7 @@ if %?TOPDIR_P%
 ## don't exist.  This is especially important for configure, since it
 ## won't be created until autoconf is run -- which might be after
 ## automake is run.
-am__dist_common += $(top_srcdir)/configure $(am__configure_deps)
+am.dist.common-files += $(top_srcdir)/configure $(am__configure_deps)
 endif %?TOPDIR_P%
 
 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
index 741726634bd64ea77553b3351aeaf4e9c997bf40..379bc15b3b1db597f17ceb869db02fa67dcfc330 100644 (file)
@@ -96,5 +96,5 @@ endif %?INSTALL%
 ## -------------- ##
 
 if %?DIST%
-am__dist_common += %DISTVAR%
+am.dist.common-files += %DISTVAR%
 endif %?DIST%
index fd2c39d4b216177605cd70f84622dafb56575b48..bf74c5d82239817fb62242f9ece739dc18a877ab 100644 (file)
 ## You should have received a copy of the GNU General Public License
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-am__dist_common += %DIST-COMMON%
+am.dist.common-files += %DIST-COMMON%
 
 ## Use 'sort', not 'am__uniq', for performance reasons.  Luckily, we
 ## don't care in which order the distributed files are.
-am__dist_files = $(call am__memoize,am__dist_files,$(strip $(sort \
-  $(am__dist_common) $(am__dist_sources) $(TEXINFOS) $(EXTRA_DIST))))
+am.dist.all-files = $(call am__memoize,am.dist.all-files,$(strip $(sort \
+  $(am.dist.common-files) $(am.dist.sources) $(TEXINFOS) $(EXTRA_DIST))))
 
-## Try to avoid repeated slashed in the entries, to make the
-## filtering in the 'am__dist_files_1' definition below more reliable.
-## This idiom should compress up to four consecutive '/' characters in
-## each $(am__dist_files) entry.
-am__dist_files_1 = $(call am__memoize,am__dist_files_1, \
-  $(subst //,/,$(subst //,/,$(am__dist_files))))
+## Try to avoid repeated slashes in the entries, to make the filtering
+## in the 'am.dist.files-tmp2' definition below more reliable.
+## This idiom should compress up to four consecutive '/' characters
+## in each $(am.dist.all-files) entry.
+am.dist.files-tmp1 = $(call am__memoize,am.dist.files-tmp1, \
+  $(subst //,/,$(subst //,/,$(am.dist.all-files))))
 
-am__dist_files_2 = $(call am__memoize,am__dist_files_2, \
+am.dist.files-tmp2 = $(call am__memoize,am.dist.files-tmp2, \
 ## Files filtered out here require an ad-hoc "munging"; see the two
 ## following 'patsubst's.
-  $(filter-out $(srcdir)/% $(top_srcdir)/%, $(am__dist_files_1)) \
+  $(filter-out $(srcdir)/% $(top_srcdir)/%, $(am.dist.files-tmp1)) \
 ## Let's strip leading $(srcdir) (which might appears in EXTRA_DIST,
 ## especially if one want to use the $(wildcard) built-in in there),
 ## so that in our 'distdir' recipe below we can loop on the list of
@@ -44,18 +44,18 @@ am__dist_files_2 = $(call am__memoize,am__dist_files_2, \
 ## present in mainstream Automake, and concerns only such corner-case
 ## situations that it's probably not worth worrying about.
   $(patsubst $(srcdir)/%, %, \
-             $(filter $(srcdir)/%, $(am__dist_files_1))) \
+             $(filter $(srcdir)/%, $(am.dist.files-tmp1))) \
 ## Also rewrite $(top_srcdir) -- which can sometimes appear in
-## $(am__dist_common), and can be absolute -- by $(top_builddir)
+## $(am.dist.common-files), and can be absolute -- by $(top_builddir)
 ## (which is always relative).  If needed, $(srcdir) will be
 ## prepended later by our VPATH-aware rules.
 ## The same caveats reported above apply.
   $(patsubst $(top_srcdir)/%, $(top_builddir)/%, \
-             $(filter $(top_srcdir)/%, $(am__dist_files_1))))
+             $(filter $(top_srcdir)/%, $(am.dist.files-tmp1))))
 
 ## Strip extra whitespaces, for more safety.
-am__dist_files_cooked = \
-  $(call am__memoize,am__dist_files_cooked,$(strip $(am__dist_files_2)))
+am.dist.files-cooked = \
+  $(call am__memoize,am.dist.files-cooked,$(strip $(am.dist.files-tmp2)))
 
 ## Given the pre-processing done above to the list of distributed files,
 ## this definition ensures that we won't try to create the wrong
@@ -65,9 +65,9 @@ am__dist_files_cooked = \
 ## will allow our rules to correctly create "$(distdir)/subdir", and not
 ## "$(distdir)/$(srcdir)/subdir" -- which, in a VPATH build where
 ## "$(subdir) = ..", would be the build directory!
-am__dist_parent_dirs = \
-  $(call am__memoize,am__dist_parent_dirs,$(strip $(sort \
-    $(filter-out ., $(patsubst ./%,%,$(dir $(am__dist_files_cooked)))))))
+am.dist.parent-dirs = \
+  $(call am__memoize,am.dist.parent-dirs,$(strip $(sort \
+    $(filter-out ., $(patsubst ./%,%,$(dir $(am.dist.files-cooked)))))))
 
 am.mkdir-for-dist = \
   @$(MKDIR_P) $(patsubst %,"$(distdir)"/%,$1)$(am__newline)
@@ -133,7 +133,7 @@ if %?SUBDIRS%
 AM_RECURSIVE_TARGETS += distdir
 endif %?SUBDIRS%
 
-distdir: $(am__dist_files) | $(am__dir)
+distdir: $(am.dist.all-files) | $(am__dir)
 ##
 ## For Gnits users, this is pretty handy.  Look at 15 lines
 ## in case some explanatory text is desirable.
@@ -157,7 +157,7 @@ if %?TOPDIR_P%
 endif %?TOPDIR_P%
 ## Make the subdirectories for the files, avoiding to exceed command
 ## line length limitations.
-       $(call am.xargs-map,am.mkdir-for-dist,$(am__dist_parent_dirs))
+       $(call am.xargs-map,am.mkdir-for-dist,$(am.dist.parent-dirs))
 ## Install the files and directories, applying a "VPATH rewrite"
 ## by hand where needed.
 ## To get the files in the distribution directory, use 'cp', not 'ln'.
@@ -166,7 +166,7 @@ endif %?TOPDIR_P%
 ## easily happen if "gettextize" was run on the distribution.
        @rm -f $(am__dir)/$@-list
        $(call am.xargs-map,am.write-list-of-distfiles, \
-              $(am__dist_files_cooked))
+              $(am.dist.files-cooked))
        @while read file; do \
 ## Always look for the file or directory to distribute in the build
 ## directory first, in VPATH spirit.
index 7b52bdcd3f7833cf4e174c93271681c75415289b..78493441c6b134bdf384811251db5fd33c47f343 100644 (file)
@@ -90,5 +90,5 @@ am__clean_files += class%NDIR%.stamp
 ## -------------- ##
 
 if %?DIST%
-am__dist_common += %DISTVAR%
+am.dist.common-files += %DISTVAR%
 endif %?DIST%
index 7b61e343597e0eeaafea0436e37995ada7ea5161..40ac35ea9beea1a2fd8cf4c3276e4163468d6bc0 100644 (file)
@@ -149,5 +149,5 @@ am__clean_files += elc-stamp $(ELCFILES)
 ## -------------- ##
 
 if %?DIST%
-am__dist_common += %DISTVAR%
+am.dist.common-files += %DISTVAR%
 endif %?DIST%
index c2226cd1f9d372a5969397702104667b554ace46..1ec6fbc8e320a2f334ee89fd2abdb4ad99fd14df 100644 (file)
@@ -126,5 +126,5 @@ endif %?INSTALL%
 ## -------------- ##
 
 if %?DIST%
-am__dist_common += %DISTVAR%
+am.dist.common-files += %DISTVAR%
 endif %?DIST%
index 6ae3362afb3c893ecc90ec6740c610c31c374ebf..f15edcb1bd2449ec3fd6c4384100b84bc81c7149 100644 (file)
@@ -95,7 +95,7 @@ endif %?INSTALL%
 ## -------------- ##
 
 if %?DIST%
-am__dist_common += %DISTVAR%
+am.dist.common-files += %DISTVAR%
 endif %?DIST%
 
 
index 4c131303a767b80bf45202250bedfeab6d99342b..0608e0b814f111578d5ec38d4a1b4a0fa3ebef3b 100644 (file)
@@ -14,7 +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/>.
 
-am__dist_common += %VTEXI% %STAMPVTI%
+am.dist.common-files += %VTEXI% %STAMPVTI%
 
 ## Don't give this rule a command (even '@:').
 ## %STAMPVTI% is always newer than %VTEXI%, so this rule is always
index 7bd071fa48b7a2c6c6de8a8d6e0981a521d6f4cf..b1e1203fccd42a175d91a21696dfc5902f50c081 100644 (file)
@@ -321,9 +321,9 @@ sc_no_am_makeflags:
        fi
 
 # Modern names for internal variables that had a bad name once.
-modern.DISTFILES = am__dist_files
-modern.DIST_COMMON = am__dist_common
-modern.DIST_SOURCES = am__dist_sources
+modern.DISTFILES = am.dist.all-files
+modern.DIST_COMMON = am.dist.common-files
+modern.DIST_SOURCES = am.dist.sources
 modern.am__TEST_BASES = am__test_bases
 modern.am__TEST_LOGS = am__test_logs
 modern.am__TEST_RESULTS = am__test_results
@@ -348,9 +348,6 @@ $(sc_renamed_variables_rules): sc_no_% :
        fi
 
 # Variables whose name is prone to typos.
-fixtypo.am__distfiles = am__dist_files
-fixtypo.am__distcommon = am__dist_common
-fixtypo.am__distsources = am__dist_sources
 
 define typos-for-clean
 
index f879deadf548dbca461d726c4f847350f8cee91d..1c8649066232f354f224b10a8decfccd4a657e45 100755 (executable)
@@ -34,7 +34,7 @@ cat > Makefile.am <<'END'
 test: distdir
        ls -l $(distdir)
        test ! -f $(distdir)/aclocal.m4
-       echo $(am__dist_files) $(am__dist_common) \
+       echo $(am.dist.all-files) $(am.dist.common-files) \
           | grep 'aclocal\.m4' && exit 1; :
 check-local: test
 END
index 458142c5d6a8e6d362f2f3c56cef4d595f27d61b..dbb62c9d5e18eb1fb8985c0dc60f621f623235fe 100755 (executable)
@@ -47,7 +47,7 @@ configure:
 configure.ac:
        $(dontbuild)
 check-local:
-       echo $(am__dist_files) $(am__dist_common) \
+       echo $(am.dist.all-files) $(am.dist.common-files) \
           | grep 'configure' && exit 1; :
 END
 
index 5944f30f374a0138af7d147119d47f0ff5e1ca1e..9731010e42fed7a9b1bc2733c36e0f9e5a50b519 100755 (executable)
@@ -30,7 +30,7 @@ info_TEXINFOS = foo.texi
 .PHONY: test
 test: all distdir
        ls -l $(distdir)
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]stamp-vti '
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]stamp-vti '
        test -f $(distdir)/stamp-vti
 END
 
index 657dcc224da666b91e051b0eaf200b66c652c40a..2b76c5d0663ca771dc302af63d29616879d39f35 100755 (executable)
@@ -48,8 +48,8 @@ cat > Makefile.am <<'END'
 SUBDIRS = sub
 check-local:
 ## For debugging.
-       @echo am__dist_common:
-       @for f in $(am__dist_common); do echo "  $$f"; done
+       @echo am.dist.common-files:
+       @for f in $(am.dist.common-files); do echo "  $$f"; done
        @echo DISTDIR:
        @ls -l $(distdir) | sed 's/^/  /'
 ## Now the checks.
@@ -66,8 +66,8 @@ cat > sub/Makefile.am <<'END'
 include distfiles.am
 check-local:
 ## For debugging.
-       @echo am__dist_common:
-       @for f in $(am__dist_common); do echo "  $$f"; done
+       @echo am.dist.common-files:
+       @for f in $(am.dist.common-files); do echo "  $$f"; done
        @echo DISTDIR:
        @ls -l $(distdir) | sed 's/^/  /'
 ## Now the checks.
@@ -76,7 +76,7 @@ check-local:
 ## Some filenames might contain dots, but this won't cause spurious
 ## failures, and "spurious successes" are so unlikely that they're
 ## not worth worrying about.
-         echo ' ' $(am__dist_common) ' ' | grep "[ /]$$f " >/dev/null \
+         echo ' ' $(am.dist.common-files) ' ' | grep "[ /]$$f " >/dev/null \
            || { echo $$f: distcom fail >&2; exit 1; }; \
        done
 END
index 2ec7418291201ca11ad410146fc5680ba1995181..0f6c2de253cc7ea5866cbe7e172c04b84805c8c8 100755 (executable)
@@ -47,8 +47,8 @@ cat > Makefile.am <<'END'
 include distfiles.am
 check-local:
 ## For debugging.
-       @echo am__dist_common:
-       @for f in $(am__dist_common); do echo "  $$f"; done
+       @echo am.dist.common-files:
+       @for f in $(am.dist.common-files); do echo "  $$f"; done
        @echo DISTDIR:
        @ls -l $(distdir) | sed 's/^/  /'
 ## Now the checks.
@@ -59,7 +59,7 @@ check-local:
 ## Some filenames might contain dots, but this won't cause spurious
 ## failures, and "spurious successes" are so unlikely that they're
 ## not worth worrying about.
-         echo ' ' $(am__dist_common) ' ' | grep "[ /]$$f " >/dev/null \
+         echo ' ' $(am.dist.common-files) ' ' | grep "[ /]$$f " >/dev/null \
            || { echo $$f: distcom fail >&2; exit 1; }; \
        done
 END
index aac3c229ef31e7a78963ea08c663ba48e312857f..4fe7b512bd836a45133756714d36f0b3446fc8e2 100755 (executable)
@@ -39,7 +39,7 @@ test-grep:
        grep '=GrEp$(empty)Me_am=' Makefile
        grep '=GrEp$(empty)Me_dep=' Makefile
 test-distcommon:
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]Makefile.dep '
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]Makefile.dep '
 test-distdir: distdir
        test -f $(distdir)/Makefile.dep
 END
index 4254c5bc36faa1ee50ca7d3e30e4a54ff645221e..8dc623f6fd45ced86d2bec38a4a7950c79426cea 100755 (executable)
@@ -33,10 +33,10 @@ mkdir subdir
 : > Makefile.am
 : > subdir/foo
 cat > subdir/Makefile.am << 'END'
-# am__dist_common should contain 'foo', not 'subdir/foo'.
+# am.dist.common-files should contain 'foo', not 'subdir/foo'.
 test:
-       case '$(am__dist_common)' in *subdir/foo*) exit 1;; *) exit 0;; esac
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]foo '
+       case '$(am.dist.common-files)' in *subdir/foo*) exit 1;; *) exit 0;; esac
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]foo '
 .PHONY: test
 END
 
index 6da042904a32b2a04300197d6ca4341aaa934616..03b5a0ba61939c5fe82d4fb11af7c6b4b4c55067 100755 (executable)
@@ -27,8 +27,8 @@ END
 cat > Makefile.am << 'END'
 .PHONY: test1 test2
 test1:
-       @echo am__dist_common = $(am__dist_common)
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]include/config\.h\.in '
+       @echo am.dist.common-files = $(am.dist.common-files)
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]include/config\.h\.in '
 test2: distdir
        ls -l $(distdir)/*
        test -f $(distdir)/include/config.h.in
index 009ae3093b63914ce5aa820dca2c8c934822c845..dd83c4e9f7a960a92818049daa58b8fa4b7383ea 100755 (executable)
@@ -27,11 +27,11 @@ END
 cat > Makefile.am << 'END'
 .PHONY: test0 test1 test2
 test0:
-       @echo am__dist_common = $(am__dist_common)
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]one\.h\.in '
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]two\.h\.in '
+       @echo am.dist.common-files = $(am.dist.common-files)
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]one\.h\.in '
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]two\.h\.in '
        # Processed header files should not be distributed.
-       if echo ' ' $(am__dist_common) ' ' | grep '\.h '; then \
+       if echo ' ' $(am.dist.common-files) ' ' | grep '\.h '; then \
          exit 1; \
        else \
          exit 0; \
index 103308e25e95ab45d97e6b14c66113fc046dab42..e8baf268934a191a736cbffc3da6eace8b3b74d8 100755 (executable)
@@ -43,7 +43,7 @@ SUBDIRS = subdir
 check-local: test1 test2
 .PHONY: test1 test2
 test1:
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]config/depcomp '
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]config/depcomp '
 test2: distdir
        ls -l $(distdir)/*
        test -f $(distdir)/config/depcomp
index baa8d277fd6fd86ead77fb6f0282e6f7ab261469..763b14ea0f8b0b8ee056599070c597e76fc8feb6 100755 (executable)
@@ -47,10 +47,10 @@ END
     SUBDIRS = subdir
     test: distdir
        ls -l $(distdir) $(distdir)/*              # For debugging.
-       @echo am__dist_common = $(am__dist_common) # Likewise.
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]$(auxdir)foo.txt '
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]$(auxdir)bar.sh '
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]$(auxdir)zardoz '
+       @echo am.dist.common-files = $(am.dist.common-files) # Likewise.
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]$(auxdir)foo.txt '
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]$(auxdir)bar.sh '
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]$(auxdir)zardoz '
        test -f $(distdir)/$(auxdir)foo.txt
        test -f $(distdir)/$(auxdir)bar.sh
        test -f $(distdir)/$(auxdir)zardoz
index c6b6926b15a293f3e0bfa4c0e1fed14244525756..3774a7523491d38958af42e7f9c4bcb1ecac73af 100755 (executable)
@@ -41,7 +41,7 @@ mkdir subdir
 cat > subdir/Makefile.am << 'END'
 .PHONY: test-distcom
 test-distcom:
-       echo ' ' $(am__dist_common) ' ' | $(FGREP) ' $(top_srcdir)/depcomp '
+       echo ' ' $(am.dist.common-files) ' ' | $(FGREP) ' $(top_srcdir)/depcomp '
 END
 
 $ACLOCAL
@@ -53,7 +53,7 @@ cat >> subdir/Makefile.am << 'END'
 bin_PROGRAMS = foo
 .PHONY: test-distcom
 test-distcom:
-       echo ' ' $(am__dist_common) ' ' | $(FGREP) ' $(top_srcdir)/depcomp '
+       echo ' ' $(am.dist.common-files) ' ' | $(FGREP) ' $(top_srcdir)/depcomp '
 check-local: test-distcom
 END
 
index 28cc53bf28bae4281b8631f1b8a252643a93595f..b96eefd61adbbca1d8d04a8761592d6331bf9a4c 100755 (executable)
@@ -14,7 +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/>.
 
-# Test to make sure that depcomp and compile are added to am__dist_common.
+# Test to make sure that depcomp and compile are added to am.dist.common-files.
 # Report from Pavel Roskin.  Report of problems with '--no-force' from
 # Scott James Remnant (Debian #206299)
 
@@ -50,7 +50,7 @@ for opt in '' --no-force; do
   test -f depcomp
 
   for dir in . subdir; do
-    sed -n 's/^am__dist_common = *\(.*\)$/ \1 /p' \
+    sed -n 's/^am.dist.common-files = *\(.*\)$/ \1 /p' \
       <$dir/Makefile.in >$dir/dc.txt
   done
 
@@ -58,7 +58,7 @@ for opt in '' --no-force; do
   cat subdir/dc.txt # Likewise.
 
   $FGREP ' $(am__config_aux_dir)/depcomp ' subdir/dc.txt
-  # The 'compile' script will be listed in the am__dist_common of
+  # The 'compile' script will be listed in the am.dist.common-files of
   # the top-level Makefile because it's required in configure.ac
   # (by AM_PROG_CC_C_O).
   $FGREP ' $(am__config_aux_dir)/compile ' dc.txt \
index d83409efb98e2702e717a0d88cabd771763e3642..98446c10d8ed638ddd69fb732caa94e76e52e8df 100755 (executable)
@@ -36,7 +36,7 @@ $AUTOMAKE --add-missing --gnu >output 2>&1 || { cat output; exit 1; }
 cat output
 grep README output && exit 1
 
-sed -n -e '/^am__dist_common =.*\\$/ {
+sed -n -e '/^am.dist.common-files =.*\\$/ {
    :loop
    p
    n
@@ -46,7 +46,7 @@ sed -n -e '/^am__dist_common =.*\\$/ {
    t loop
    p
    n
-   }' -e '/^am__dist_common =/ p' Makefile.in | grep README
+   }' -e '/^am.dist.common-files =/ p' Makefile.in | grep README
 
 
 # Should warn about missing README.
index 4d98b17e0daf88bfa276c0b9cd1155e169e1c378..e588e23fd72047a75d03c1a7fddb265bba3b6f68 100755 (executable)
@@ -45,7 +45,7 @@ mkdir tests
 cat > Makefile.am << 'END'
 .PHONY: test1 test 2
 test1:
-       for x in $(am__dist_files); do echo $$x; done \
+       for x in $(am.dist.all-files); do echo $$x; done \
          | grep 'tests/' > lst
        cat lst # For debugging.
        test `wc -l <lst` -eq 1
index 4d3789d673f3c95c05da9fbc8b38893bad54e106..5971f9e930c897a68c6fe51c5e03643a1bf94ca0 100755 (executable)
@@ -49,13 +49,13 @@ SUBDIRS = tests
 test: distdir
        test -f $(distdir)/tests/wrapper.in
 check-local: test
-       for x in $(am__dist_files); do echo $$x; done \
+       for x in $(am.dist.all-files); do echo $$x; done \
          | grep tests && exit 1; :
 END
 
 cat > tests/Makefile.am <<'END'
 check-local:
-       for x in $(am__dist_files); do echo $$x; done \
+       for x in $(am.dist.all-files); do echo $$x; done \
          | grep wrapper.in > lst
        cat lst # For debugging.
        test `wc -l <lst` -eq 1
index a160c11b3c5be12e2bcb94970e3a7321cadc92b7..5101755f1c1dc50979647c3cc36e40436c73ad2c 100755 (executable)
@@ -34,7 +34,7 @@ $AUTOMAKE
 test $(grep -c '^srcdir' Makefile.in) -eq 1
 
 # Also make sure include file is distributed.
-sed -n -e '/^am__dist_common =.*\\$/ {
+sed -n -e '/^am.dist.common-files =.*\\$/ {
    :loop
    p
    n
@@ -44,6 +44,6 @@ sed -n -e '/^am__dist_common =.*\\$/ {
    t loop
    p
    n
-   }' -e '/^am__dist_common =/ p' Makefile.in | grep Will_Be_Included_In_Makefile
+   }' -e '/^am.dist.common-files =/ p' Makefile.in | grep Will_Be_Included_In_Makefile
 
 :
index 9d1a3a1cc1e0e5761820df33bb91774e3676829d..cc964cf5bb35f05ffe56172275ab7750bb636c78 100755 (executable)
@@ -25,7 +25,7 @@ pkgdata_DATA =
 .PHONY: test
 test: distdir
        find $(distdir) # For debugging.
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]install-sh '
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]install-sh '
        test -f $(distdir)/install-sh
 END
 
index b5e6742f25d30f1dc7362954565c7414e8bf671d..d3874c5db174ef80e5deccb09b5c1a9b4c3a9b24 100755 (executable)
@@ -39,10 +39,10 @@ check-local: test1 test2 test3
 test1: all
        $(AR) tv libtu.a
 test2:
-       @echo am__dist_common = $(am__dist_common)
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]basename\.c '
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]dirname\.c '
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]am__dummy_function\.c '
+       @echo am.dist.common-files = $(am.dist.common-files)
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]basename\.c '
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]dirname\.c '
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]am__dummy_function\.c '
 test3: distdir
        test -f $(distdir)/basename.c
        test -f $(distdir)/dirname.c
index 41083c3f6ba62f74b0a93426659e54335fd0c7c0..cb79f613a1b0add77b34ccf7474bc016ca49ea37 100755 (executable)
@@ -34,7 +34,7 @@ $ACLOCAL
 $AUTOMAKE
 
 grep '^am_eyeball_OBJECTS' Makefile.in
-grep '^am__dist_sources =' Makefile.in
-grep '^am__dist_sources =.*nodist' Makefile.in && exit 1
+grep '^am.dist.sources =' Makefile.in
+grep '^am.dist.sources =.*nodist' Makefile.in && exit 1
 
 :
index 33a2d5c20c5a6f3f59edf44a351b59cdf3d8a9b8..f80445a1b38d588993986adf8ba0e6efe38607ee 100755 (executable)
@@ -32,6 +32,6 @@ $ACLOCAL
 $AUTOMAKE
 
 grep '^dist:' Makefile.in && exit 1
-grep 'am__dist_sources' Makefile.in && exit 1
+grep 'am.dist.sources' Makefile.in && exit 1
 
 :
index 84973c956c51dfea5ae4ee78f0e6f016010e52f2..70e17ee9c994e64707b37e21fad832be846cdb2e 100755 (executable)
--- a/t/pr2.sh
+++ b/t/pr2.sh
@@ -22,7 +22,7 @@
 # like the following (among the Makefiles)
 #       README.foo:templ/README.foo.in
 # the generated dist target in the Makefile.in fails,
-# because am__dist_common will contain templ/README.foo.in
+# because am.dist.common-files will contain templ/README.foo.in
 # and the dist target will try to copy templ/README.foo.in
 # to the distribution directory before it creates a templ
 # subdirectory in the distribution directory.
index d24bf13821c3152a61410ab5279a11b45024c527..827f45c3ccc3b7a8e08bba47d9afdfa22644c14d 100755 (executable)
@@ -47,8 +47,8 @@ $MAKE test
 
 # This is unrelated to the rest of this test.  But while we are
 # at it, make sure we don't use am__helldl_SOURCES_DIST here, since
-# it's not needed.  am__dist_sources should contain $(helldl_SOURCES).
+# it's not needed.  am.dist.sources should contain $(helldl_SOURCES).
 grep am__helldl_SOURCES_DIST Makefile && exit 1
-grep 'am__dist_sources.*\$(helldl_SOURCES)' Makefile
+grep 'am.dist.sources.*\$(helldl_SOURCES)' Makefile
 
 :
index 6e725c26165254f488011416bfb3ad24659a8a28..7675330874edcf098c917f36398a78de0a7f356c 100755 (executable)
@@ -53,7 +53,7 @@ END
   unindent > tests/Makefile.am << END
     check-local: test-sub
     test-sub:
-       echo ' ' \$(am__dist_common) ' ' | grep '[ /]$test_driver '
+       echo ' ' \$(am.dist.common-files) ' ' | grep '[ /]$test_driver '
     TESTS = foo.test
     EXTRA_DIST = \$(TESTS)
 END
index 3c73ecdcea52d7769da1aa0cf6ffb5d00bc02af8..ff75bddb40053b6ab528cd76f9d612340594af32 100755 (executable)
@@ -28,8 +28,8 @@ cat > Makefile.am << 'END'
 info_TEXINFOS = textutils.texi
 .PHONY: test1 test2
 test1:
-       @echo am__dist_files = $(am__dist_files)
-       echo ' ' $(am__dist_files) ' ' | grep '[ /]texinfo\.tex '
+       @echo am.dist.all-files = $(am.dist.all-files)
+       echo ' ' $(am.dist.all-files) ' ' | grep '[ /]texinfo\.tex '
 test2: distdir
        ls -l $(distdir)
        test -f $(distdir)/texinfo.tex
index 78a4271cfb7c4b13b80439365587540696c0c8aa..d52231a072ca51e8ba6d2831a7699943e792802b 100755 (executable)
@@ -27,8 +27,8 @@ cat > Makefile.am << 'END'
 info_TEXINFOS = textutils.texi
 .PHONY: test
 test:
-       @echo am__dist_files = $(am__dist_files)
-       case '$(am__dist_files)' in *'~'*) exit 1;; *) exit 0;; esac
+       @echo am.dist.all-files = $(am.dist.all-files)
+       case '$(am.dist.all-files)' in *'~'*) exit 1;; *) exit 0;; esac
 END
 
 : > texinfo.tex
index 72ae61b7ada68606efb4b363f7db3b520e9b7999..45c3c09270160dd7ed0c1e205dca0da821fcd4cb 100755 (executable)
@@ -32,8 +32,8 @@ cat > Makefile.am << 'END'
 info_TEXINFOS = textutils.texi
 .PHONY: test1 test2
 test1:
-       @echo am__dist_files = $(am__dist_files)
-       echo ' ' $(am__dist_files) ' ' | grep '[ /]auxdir/texinfo\.tex '
+       @echo am.dist.all-files = $(am.dist.all-files)
+       echo ' ' $(am.dist.all-files) ' ' | grep '[ /]auxdir/texinfo\.tex '
 test2: distdir
        ls -l $(distdir)/*
        test -f $(distdir)/auxdir/texinfo.tex
index dd897e05c35684e42e87d90dd759872b1dac8301..4480ec46da5f26de9dede676066252e5eb37d970 100755 (executable)
@@ -41,7 +41,7 @@ cat > Makefile.am << 'END'
 info_TEXINFOS = foobar.texi quux.texi zardoz.texi
 .PHONY: echo-distfiles
 echo-distfiles:
-       @echo ' ' $(am__dist_files) ' '
+       @echo ' ' $(am.dist.all-files) ' '
 END
 
 cat > foobar.texi << 'END'
@@ -94,7 +94,7 @@ do_check ()
   vmonth=$(grep '^@set UPDATED ' $srcdir/$vfile.texi | awk '{print $4, $5}')
   grep "^@set UPDATED-MONTH $vmonth$" $srcdir/$vfile.texi
   # Check that the vers*.texi file is distributed according
-  # to $(am__dist_files).
+  # to $(am.dist.all-files).
   $MAKE echo-distfiles # For debugging.
   $MAKE -s echo-distfiles | grep "[ /]$vfile\\.texi"
 }
index abd1411372eac8875906df1c2fea5555bad7be9f..ed784dbbec408a5c897bfd1c40c66f7a5d2d09fd 100755 (executable)
@@ -55,8 +55,8 @@ test-grepinfo:
        cat $(srcdir)/foo.info | grep 'GREPDATE=$(my_date_rx)='
        cat $(srcdir)/foo.info | grep 'GREPMONTH=$(my_month_rx)='
 test-distfiles:
-       @echo am__dist_files = $(am__dist_files)
-       echo ' ' $(am__dist_files) ' ' | grep '[ /]version.texi '
+       @echo am.dist.all-files = $(am.dist.all-files)
+       echo ' ' $(am.dist.all-files) ' ' | grep '[ /]version.texi '
 test-distdir: distdir
        ls -l $(distdir)
        diff $(srcdir)/version.texi $(distdir)/version.texi
index 2a98f9f59b9f526b017f57f9101f2a6fce8e3b1b..e8b26020654e3abb5d042cbb25d125cb23ce0f12 100755 (executable)
@@ -34,7 +34,7 @@ bar_YFLAGS = -v
 
 .PHONY: echo-distcom
 echo-distcom:
-       @echo ' ' $(am__dist_common) ' '
+       @echo ' ' $(am.dist.common-files) ' '
 END
 
 cat > parse.y << 'END'
index 2d284f4e728ada797e5a4892a8231202dc074e0f..ce27e6ae1229595c21c5b1b542b0e3c54f2a6b75 100755 (executable)
@@ -38,7 +38,7 @@ foo4_YFLAGS = $(foo3_YFLAGS)
 
 .PHONY: echo-distcom
 echo-distcom:
-       @echo ' ' $(am__dist_common) ' '
+       @echo ' ' $(am.dist.common-files) ' '
 END
 
 cat > parse1.yy << 'END'
index f8ff475fe361a8ba4a3300d9df68d40845935fc8..55f0ee5f8b45c239c2f823cbd866f9049c5eaed3 100755 (executable)
@@ -39,7 +39,7 @@ bin_PROGRAMS = zardoz
 zardoz_SOURCES = parse.y main.c
 .PHONY: echo-distcom
 echo-distcom:
-       @echo ' ' $(am__dist_common) ' '
+       @echo ' ' $(am.dist.common-files) ' '
 END
 cp foo/Makefile.am bar/Makefile.am
 cp foo/Makefile.am baz/Makefile.am
index 0483d8c2a1a8972250bf528aa92eb1eacc7a2f6b..3e9e0d4a434a391ea8ff7476064d7c9a35a48ee6 100755 (executable)
@@ -66,7 +66,7 @@ mkdir foo bar baz qux baz/sub
 cat > Makefile.am <<'END'
 .PHONY: echo-distcom
 echo-distcom:
-       @echo ' ' $(am__dist_common) ' '
+       @echo ' ' $(am.dist.common-files) ' '
 END
 cp Makefile.am foo/Makefile.am
 cp Makefile.am bar/Makefile.am
index e669cbc5f08d29c040a93a6a564743f9d0e0969e..46e81add06ed02d55bd25edfdde3e2aa808d898b 100755 (executable)
@@ -34,8 +34,8 @@ bar_SOURCES = bar.lxx
 
 .PHONY: check-dist
 check-dist: distdir
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]foo\.cc'
-       echo ' ' $(am__dist_common) ' ' | grep '[ /]bar\.cxx'
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]foo\.cc'
+       echo ' ' $(am.dist.common-files) ' ' | grep '[ /]bar\.cxx'
        ls -l $(distdir)
        test -f $(distdir)/foo.cc
        test -f $(distdir)/bar.cxx