]> err.no Git - systemd/commitdiff
remove Makefile magic for leading '0' in version
authorKay Sievers <kay.sievers@suse.de>
Thu, 7 Sep 2006 09:49:51 +0000 (11:49 +0200)
committerKay Sievers <kay.sievers@suse.de>
Thu, 7 Sep 2006 09:49:51 +0000 (11:49 +0200)
Makefile

index 8145f253efba81a227be37689d903c418d388eeb..2261d3488b1aa42394bbe887f9c3ddc750c38995 100644 (file)
--- 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 >> $@