X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile;h=2261d3488b1aa42394bbe887f9c3ddc750c38995;hb=b4e4b5a5db32177ec422c96d4440651a85d59704;hp=8145f253efba81a227be37689d903c418d388eeb;hpb=eed8b2ff91a371ec7c6d9c41f63c4522863474f3;p=elogind.git 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 >> $@