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 <[email protected]> --- 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
