# HG changeset patch # User "Yann E. MORIN" # Date 1182166982 0 # Node ID ba6e7292f7bfb9b094eed8d4b0223e766dc01c6a # Parent 78e85ec44c7ea0478355734c3689b65ca6b59c4a Always call distclean after each sample when doing a regtest. diff -r 78e85ec44c7e -r ba6e7292f7bf samples/Makefile --- a/samples/Makefile Sun Jun 17 17:16:24 2007 +0000 +++ b/samples/Makefile Mon Jun 18 11:43:02 2007 +0000 @@ -30,7 +30,7 @@ .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 @@ 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