2003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
+ * lib/am/depend2.am (?GENERIC?%EXT%.o, ?GENERIC?%EXT%.obj)
+ (?GENERIC?%EXT%.lo): Use `mv -f' instead of `mv' in FASTDEP mode.
+ Suggested by Matthias Andree.
+
* tests/README: Typo.
2003-03-08 Alexandre Duret-Lutz <adl@gnu.org>
Mathias Doreille doreille@smr.ch
Matt Leach mleach@cygnus.com
Matthew D. Langston langston@SLAC.Stanford.EDU
+Matthias Andree matthias.andree@gmx.de
Matthias Clasen clasen@mathematik.uni-freiburg.de
Maxim Sinev good@goods.ru
Merijn de Jonge M.de.Jonge@cwi.nl
## For non-suffix rules, we must emulate a VPATH search on %SOURCE%.
?!GENERIC? %-c% -o %OBJ% `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%; \
?GENERIC? %-c% -o %OBJ% %SOURCE%; \
- then mv "%DEPBASE%.Tpo" "%DEPBASE%.Po"; \
+ then mv -f "%DEPBASE%.Tpo" "%DEPBASE%.Po"; \
else rm -f "%DEPBASE%.Tpo"; exit 1; \
fi
else !%FASTDEP%
## For non-suffix rules, we must emulate a VPATH search on %SOURCE%.
?!GENERIC? %-c% -o %OBJOBJ% `if test -f '%SOURCE%'; then $(CYGPATH_W) '%SOURCE%'; else $(CYGPATH_W) '$(srcdir)/%SOURCE%'; fi`; \
?GENERIC? %-c% -o %OBJOBJ% `$(CYGPATH_W) '%SOURCE%'`; \
- then mv "%DEPBASE%.Tpo" "%DEPBASE%.Po"; \
+ then mv -f "%DEPBASE%.Tpo" "%DEPBASE%.Po"; \
else rm -f "%DEPBASE%.Tpo"; exit 1; \
fi
else !%FASTDEP%
?GENERIC? %-c% -o %LTOBJ% %SOURCE%; \
## For non-suffix rules, we must emulate a VPATH search on %SOURCE%.
?!GENERIC? %-c% -o %LTOBJ% `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%; \
- then mv "%DEPBASE%.Tpo" "%DEPBASE%.Plo"; \
+ then mv -f "%DEPBASE%.Tpo" "%DEPBASE%.Plo"; \
else rm -f "%DEPBASE%.Tpo"; exit 1; \
fi
else !%FASTDEP%