rpmdist.mk: Beautify logging

This commit is contained in:
Jan Lindemann 2007-08-28 16:16:34 +00:00 committed by Jan Lindemann
commit 12825a3e42

View file

@ -159,8 +159,10 @@ define increase_build_number
$(check_cvs_sync) ;\ $(check_cvs_sync) ;\
fi ;\ fi ;\
if [ "$(LAST_RPM_VERSION)" != $(RPM_VERSION) ]; then \ if [ "$(LAST_RPM_VERSION)" != $(RPM_VERSION) ]; then \
echo "+ no need to increase build number of $(RPM_VERSION), last rpm has $(LAST_RPM_VERSION)" ;\
exit 0 ;\ exit 0 ;\
fi ;\ fi ;\
echo -n "+ increasing build number to " ;\
echo $(MAJOR_MINOR_RELEASE)-$(shell expr $(BUILD_NUMBER) + 1)-dev | tee VERSION ;\ echo $(MAJOR_MINOR_RELEASE)-$(shell expr $(BUILD_NUMBER) + 1)-dev | tee VERSION ;\
echo $(HASH) > HASH ;\ echo $(HASH) > HASH ;\
if ! grep -q HASH CVS/Entries; then \ if ! grep -q HASH CVS/Entries; then \