[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [PATCH 19/33] [ng] rename: am__make_dryrun -> am.make.dry-
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [PATCH 19/33] [ng] rename: am__make_dryrun -> am.make.dry-run |
Date: |
Sat, 21 Jul 2012 14:55:51 +0200 |
Signed-off-by: Stefano Lattarini <address@hidden>
---
lib/am/all-target.am | 2 +-
lib/am/check-typos.am | 2 +-
lib/am/distdir.am | 2 +-
lib/am/header-vars.am | 2 +-
lib/am/lisp.am | 2 +-
t/make-dryrun.tap | 6 +++---
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/am/all-target.am b/lib/am/all-target.am
index 9e69726..e307d5d 100644
--- a/lib/am/all-target.am
+++ b/lib/am/all-target.am
@@ -27,7 +27,7 @@ endif
# 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)
diff --git a/lib/am/check-typos.am b/lib/am/check-typos.am
index b752b59..e633e4f 100644
--- a/lib/am/check-typos.am
+++ b/lib/am/check-typos.am
@@ -35,7 +35,7 @@
# 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
diff --git a/lib/am/distdir.am b/lib/am/distdir.am
index bf74c5d..16de751 100644
--- a/lib/am/distdir.am
+++ b/lib/am/distdir.am
@@ -212,7 +212,7 @@ endif %?TOPDIR_P%
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; \
diff --git a/lib/am/header-vars.am b/lib/am/header-vars.am
index 23e9987..c0e15ba 100644
--- a/lib/am/header-vars.am
+++ b/lib/am/header-vars.am
@@ -136,7 +136,7 @@ am__vpath_rewrite = \
## 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))),, \
diff --git a/lib/am/lisp.am b/lib/am/lisp.am
index 40ac35e..84dd696 100644
--- a/lib/am/lisp.am
+++ b/lib/am/lisp.am
@@ -52,7 +52,7 @@ $(am__ELCFILES): elc-stamp
##
## 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
diff --git a/t/make-dryrun.tap b/t/make-dryrun.tap
index 42fd3df..39a3454 100755
--- a/t/make-dryrun.tap
+++ b/t/make-dryrun.tap
@@ -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/>.
-# Check that $(am__make_dryrun) works as expected.
+# Check that $(am.make.dry-run) works as expected.
. ./defs || exit 1
@@ -31,10 +31,10 @@ foo:
$(MAKE) all
notdry:
@echo ":: $$MAKEFLAGS ::" # For debugging.
- $(am__make_dryrun) && exit 1; exit 0
+ $(am.make.dry-run) && exit 1; exit 0
dry:
address@hidden ":: $$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"
--
1.7.10.4
- [Automake-NG] [PATCH 10/33] [ng] rename: am__dollar -> am.chars.dollar, (continued)
- [Automake-NG] [PATCH 10/33] [ng] rename: am__dollar -> am.chars.dollar, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 11/33] [ng] rename: am__pound -> am.chars.hash, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 12/33] [ng] rename: am__lparen -> am.chars.lparen, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 13/33] [ng] rename: am__rparen -> am.chars.rparen, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 14/33] [ng] rename: am__bquote -> am.chars.bquote, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 15/33] [ng] rename: am__dquote -> am.chars.dquote, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 16/33] [ng] rename: am__squote -> am.chars.squote, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 17/33] [ng] cosmetics: fix an imprecise comment, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 18/33] [ng] rename: am__empty -> am.chars.empty, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 20/33] [ng] rename: am__strip_firstword -> am.util.strip-first-word, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 19/33] [ng] rename: am__make_dryrun -> am.make.dry-run,
Stefano Lattarini <=
- [Automake-NG] [PATCH 21/33] [ng] rename: am__strip_lastword -> am.util.strip-last-word, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 22/33] [ng] am__uniq: use $0 for recursive invocations, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 23/33] [ng] rename: am__uniq -> am.util.uniq, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 24/33] [ng] am__strip_suffixes: use $0 for recursive invocations, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 25/33] [ng] rename: am__strip_suffixes -> am.util.strip-suffixes, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 26/33] [ng] rename: am__private_suffix -> am.hack.private-suffix, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 27/33] [ng] rename: am__handle_exeext -> am.conf.handle-exeext, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 28/33] [ng] rename: am__vpath_rewrite -> am.vpath.rewrite, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 29/33] [ng] rename: am__using_parallel_tests -> am.conf.using-parallel-tests, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 30/33] [ng] rename: am__tolower -> am.util.tolower, Stefano Lattarini, 2012/07/21