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!
# 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 '.')
{
################################################################
-# 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"
# 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;
## 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%
## --------------------------- ##
## 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)
## -------------- ##
if %?DIST%
-am__dist_common += %DISTVAR%
+am.dist.common-files += %DISTVAR%
endif %?DIST%
## 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
## 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
## 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)
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.
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'.
## 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.
## -------------- ##
if %?DIST%
-am__dist_common += %DISTVAR%
+am.dist.common-files += %DISTVAR%
endif %?DIST%
## -------------- ##
if %?DIST%
-am__dist_common += %DISTVAR%
+am.dist.common-files += %DISTVAR%
endif %?DIST%
## -------------- ##
if %?DIST%
-am__dist_common += %DISTVAR%
+am.dist.common-files += %DISTVAR%
endif %?DIST%
## -------------- ##
if %?DIST%
-am__dist_common += %DISTVAR%
+am.dist.common-files += %DISTVAR%
endif %?DIST%
## 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
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
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
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
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
.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
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.
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.
## 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
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.
## 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
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
: > 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
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
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; \
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
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
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
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
# 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)
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
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 \
cat output
grep README output && exit 1
-sed -n -e '/^am__dist_common =.*\\$/ {
+sed -n -e '/^am.dist.common-files =.*\\$/ {
:loop
p
n
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.
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
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
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
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
:
.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
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
$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
:
$AUTOMAKE
grep '^dist:' Makefile.in && exit 1
-grep 'am__dist_sources' Makefile.in && exit 1
+grep 'am.dist.sources' Makefile.in && exit 1
:
# 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.
# 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
:
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
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
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
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
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'
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"
}
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
.PHONY: echo-distcom
echo-distcom:
- @echo ' ' $(am__dist_common) ' '
+ @echo ' ' $(am.dist.common-files) ' '
END
cat > parse.y << 'END'
.PHONY: echo-distcom
echo-distcom:
- @echo ' ' $(am__dist_common) ' '
+ @echo ' ' $(am.dist.common-files) ' '
END
cat > parse1.yy << 'END'
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
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
.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