summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-06-18 11:43:02 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-06-18 11:43:02 (GMT)
commite0455a5ec97c209b2fddf7d64dcc1b5fcb1e4687 (patch)
tree5eb7043292b487dd6a96bd5d8afa495850d5bdc7
parentca3bb596c1422d7da0279b5584c82d57ca595add (diff)
Always call distclean after each sample when doing a regtest.
-rw-r--r--samples/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/Makefile b/samples/Makefile
index a404a1b..fb3f43b 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -30,7 +30,7 @@ $(CT_SAMPLES):
.PHONY: regtest
regtest:
@for samp in $(CT_SAMPLES); do \
- echo "Building sample \"$${samp}\"" && \
+ echo -e "\rBuilding sample \"$${samp}\"" && \
cp "$(CT_TOP_DIR)/samples/$${samp}/crosstool.config" "$(CT_TOP_DIR)/.config" && \
yes "" |make -C $(CT_TOP_DIR) defoldconfig >/dev/null 2>&1 && \
sed -i -r -e 's:^(CT_PREFIX_DIR=).*$$:\1"${CT_TOP_DIR}/targets/tst/$${CT_TARGET}":;' .config && \
@@ -41,9 +41,9 @@ regtest:
sed -i -r -e 's:^.*(CT_LOG_PROGRESS_BAR).*$$:\1=y:;' .config && \
yes "" |make -C $(CT_TOP_DIR) defoldconfig >/dev/null 2>&1 && \
make -C $(CT_TOP_DIR) && \
- echo "Making tarball for sample \"$${samp}\"" && \
- make -C $(CT_TOP_DIR) tarball && \
- echo "Cleaning sample \"$${samp}\"" && \
+ echo -e "\rMaking tarball for sample \"$${samp}\"" && \
+ make -C $(CT_TOP_DIR) tarball; \
+ echo -e "\rCleaning sample \"$${samp}\""; \
make -C $(CT_TOP_DIR) distclean; \
done