automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [PATCH 07/14] [ng] refactoring: move definition of $(am__m


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 07/14] [ng] refactoring: move definition of $(am__mv) in depend2.am
Date: Thu, 21 Jun 2012 12:32:38 +0200

A tiny refactoring only needed by the subsequent change.

* lib/am/depend.am (am__mv): Move definition ...
* lib/am/depend2.am [%?FIRST%]: ... here, with a new explicative
comment.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 lib/am/depend.am  |    1 -
 lib/am/depend2.am |    2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/am/depend.am b/lib/am/depend.am
index a53ecbe..dc7bc8b 100644
--- a/lib/am/depend.am
+++ b/lib/am/depend.am
@@ -14,6 +14,5 @@
 ## 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__mv = mv -f
 am__distclean_dirs += %DEPDIRS%
 am__maintclean_dirs += %DEPDIRS%
diff --git a/lib/am/depend2.am b/lib/am/depend2.am
index 38f30bf..2601434 100644
--- a/lib/am/depend2.am
+++ b/lib/am/depend2.am
@@ -39,6 +39,8 @@ am__depbase = $(am__depdir)/$(basename $(notdir $@))
 ## Avoid useless forks when possible.
 am__ensure_depdir = $(call am__ensure_dir_exists,$(am__depdir))
 am__o_src = $(if $(filter .obj,$(suffix $@)),`$(CYGPATH_W) $<`,$<)
+## To facilitate use of "libtool --dry-run".
+am__mv = mv -f
 endif %?FIRST%
 
 if %?NONLIBTOOL%
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]