]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] rename: am__make_dryrun -> am.make.dry-run
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 21 Jul 2012 11:47:26 +0000 (13:47 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 21 Jul 2012 11:56:24 +0000 (13:56 +0200)
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/all-target.am
lib/am/check-typos.am
lib/am/distdir.am
lib/am/header-vars.am
lib/am/lisp.am
t/make-dryrun.tap

index 9e69726cbddde556cc9727f8f59fe3a8e1e2a19e..e307d5d141dde71c4ad1c2096b737ba5711d510d 100644 (file)
@@ -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)
index b752b5916c6e22149be154fd22b9a70b9cef6f2a..e633e4f47885cc1957b637b9cf47c6d49e35f5c8 100644 (file)
@@ -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
 
index bf74c5d82239817fb62242f9ece739dc18a877ab..16de751df147b13ee14ae73a83e4ea3c1636d6e3 100644 (file)
@@ -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; \
index 23e9987ccd3f8d8887dfacd6c2d022754c79b75e..c0e15ba0d2552d9826c64c8c1bebf024ab7f8102 100644 (file)
@@ -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))),, \
index 40ac35ea9beea1a2fd8cf4c3276e4163468d6bc0..84dd6968634dc246c9be6178d3ced36d099a5a60 100644 (file)
@@ -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
index 42fd3dfadc3c04be6f429d4f65857bcac08e38cb..39a345482c960fa2ab9acb91c40a5d9f6004c495 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/>.
 
-# 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:
        +@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"