[Top][All Lists]
[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
- Re: [Automake-NG] [PATCH 05/14] [ng] clean: do not ignore errors while removing files, (continued)
- [Automake-NG] [PATCH 08/14] [ng] cleanup: remove 'depend.am', Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 11/14] [ng] cleanup: merge '%compile_clean_files' in '%clean_files', Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 09/14] [ng] clean: don't remove object files in '.' unconditionally, Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 07/14] [ng] refactoring: move definition of $(am__mv) in depend2.am,
Stefano Lattarini <=
- [Automake-NG] [PATCH 10/14] [ng] refactoring: no "cleaning" rules in compile.am, Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 12/14] [ng] refactor: prefer '&file_contents' over '&file_contents_internals', Stefano Lattarini, 2012/06/21
- [Automake-NG] [PATCH 14/14] [ng] check: keep cleaning of '.log' and '.trs' files near other rules, Stefano Lattarini, 2012/06/21