cd $$i ; $(MAKE) report ; cd .. ; \
done
@echo =======Report: all-headers =======
- @today=`date -u +"%Y-%m-%d %H:%M"` ; \
if (($(MAKE) all-headers 2>&1) > /dev/null) ; then \
- echo $$today + all-headers ; \
+ echo `date -u +"%Y-%m-%d %H:%M"` + all-headers ; \
else \
- echo $$today - all-headers ; \
+ echo `date -u +"%Y-%m-%d %H:%M"` - all-headers ; \
fi
report+mail:
# anywhere anytime
############################################################
report:
- @today=`date -u +"%Y-%m-%d %H:%M"` ; \
for test in $(sort $(tests)) ; do \
if (($(MAKE) $$test.OK stop_on_error=on 2>&1) > /dev/null); then \
- echo $$today + $$test ; \
+ echo `date -u +"%Y-%m-%d %H:%M"` + $$test ; \
else \
- echo $$today - $$test ; \
+ echo `date -u +"%Y-%m-%d %H:%M"` - $$test ; \
fi ; \
done
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams