reverts part of the 2005-07-07 patch.
@mv -f calc++-parser.tmp $@
$(calc_sources_generated): $(srcdir)/calc++-parser.stamp
@mv -f calc++-parser.tmp $@
$(calc_sources_generated): $(srcdir)/calc++-parser.stamp
- rm -f $(srcdir)/calc++-parser.stamp
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/calc++-parser.stamp
+ @if test -f $@; then :; else \
+ rm -f $(srcdir)/calc++-parser.stamp && \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/calc++-parser.stamp; \
+ fi
+
## --------------------------- ##
## Building & testing calc++. ##
## --------------------------- ##
## Building & testing calc++. ##