%transform,
FILENAME_FILTER => $filename_filter,
'DIST-COMMON' => "@dist_common");
- $output_rules .= &file_contents ('distcheck', new Automake::Location)
- if $relative_dir eq '.';
+ verbatim ('distcheck') if $relative_dir eq '.';
}
# Checking the distribution. #
# ---------------------------- #
-if %?SUBDIRS%
+ifdef SUBDIRS
AM_RECURSIVE_TARGETS += distcheck
-endif %?SUBDIRS%
+endif
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
-## Define distcleancheck_listfiles and distcleancheck separately
-## from distcheck, so that they can be overridden by the user.
+# Define '$(distcleancheck_listfiles)' and 'distcleancheck' separately
+# from distcheck, so that they can be overridden by the user.
+ifeq ($(call am.vars.is-undef,distcleancheck_listfiles),yes)
+ distcleancheck_listfiles := find . -type f -print
+endif
.PHONY: distcleancheck
-distcleancheck_listfiles = find . -type f -print
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
$ACLOCAL
$AUTOMAKE
-$FGREP '$(DISTCHECK_CONFIGURE_FLAGS)' Makefile.in
-$FGREP '$(AM_DISTCHECK_CONFIGURE_FLAGS)' Makefile.in
-grep 'DISTCHECK_CONFIGURE_FLAGS.*AM_DISTCHECK_CONFIGURE_FLAGS' Makefile.in \
- && exit 1
-
$AUTOCONF
./configure --enable-success sentence='it works :-)'