# But of course, we shouldn't attempt to build any of them when
# running in dry mode.
am.built-early = %LOCAL-HEADERS% $(BUILT_SOURCES)
-ifeq ($(am__make_dryrun),true)
+ifeq ($(am.make.dry-run),true)
# A trick to make the "make -n" output more useful, albeit not
# completely accurate.
all check install: | $(am.built-early)
# make invocations and creation of an auxiliary makefile fragments, and
# such an approach do not interact very well with "make -n"; in such a case,
# it's simpler and safer to go for "greedy checking".
-ifeq ($(am__make_dryrun),true)
+ifeq ($(am.make.dry-run),true)
AM_FORCE_SANITY_CHECKS ?= yes
endif
if %?SUBDIRS%
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
- $(am__make_dryrun) \
+ $(am.make.dry-run) \
|| test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
## would wrongly misinterpret that as and indication that make is running
## in dry mode. This has already happened in practice. So we need the
## hack with $(subst \ , ...).
-am__make_dryrun := \
+am.make.dry-run := \
$(strip $(if $(strip \
$(foreach am__v, $(subst \ ,,$(strip $(MAKEFLAGS))), \
$(if $(or $(findstring =,$(am__v)),$(filter --%,$(am__v))),, \
##
## If "make -n" is called, do not execute any command in the recipe that
## changes the tree; however, invoke the recursive make for debuggability.
- @if $(am__make_dryrun); then dry=:; else dry=; fi; \
+ @if $(am.make.dry-run); then dry=:; else dry=; fi; \
if test "$(EMACS)" != no && test ! -f $@; then \
## If "make -j" is used and more than one file has been erased, several
## processes can execute this block. We have to make sure that only
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Check that $(am__make_dryrun) works as expected.
+# Check that $(am.make.dry-run) works as expected.
. ./defs || exit 1
$(MAKE) all
notdry:
@echo ":: $$MAKEFLAGS ::" # For debugging.
- $(am__make_dryrun) && exit 1; exit 0
+ $(am.make.dry-run) && exit 1; exit 0
dry:
+@echo ":: $$MAKEFLAGS ::" # For debugging.
- +$(am__make_dryrun) || exit 1; echo ok > from-dry-mode
+ +$(am.make.dry-run) || exit 1; echo ok > from-dry-mode
END
$ACLOCAL || fatal_ "aclocal failed"