From: Kay Sievers Date: Thu, 7 Sep 2006 09:49:51 +0000 (+0200) Subject: remove Makefile magic for leading '0' in version X-Git-Tag: 174~2135 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=adc8e4b91ef4719489b4d9b2b2b298166674ffbb;p=elogind.git remove Makefile magic for leading '0' in version --- diff --git a/Makefile b/Makefile index 8145f253e..2261d3488 100644 --- a/Makefile +++ b/Makefile @@ -326,10 +326,10 @@ buildtest: ChangeLog: Makefile @ mv $@ $@.tmp - @ echo "Summary of changes from v$(shell printf '%03i' $$(expr $(VERSION) - 1)) to v$(VERSION)" >> $@ + @ echo "Summary of changes from v$(shell echo $$(($(VERSION) - 1))) to v$(VERSION)" >> $@ @ echo "============================================" >> $@ @ echo >> $@ - @ git log --pretty=short $(shell printf '%03i' $$(expr $(VERSION) - 1))..HEAD | git shortlog >> $@ + @ git log --pretty=short $(shell echo $$(($(VERSION) - 1)))..HEAD | git shortlog >> $@ @ echo >> $@ @ cat $@ @ cat $@.tmp >> $@