summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-09-07 11:49:51 +0200
committerKay Sievers <kay.sievers@suse.de>2006-09-07 11:49:51 +0200
commitadc8e4b91ef4719489b4d9b2b2b298166674ffbb (patch)
tree0653dc6001c45ca6169235fea3ab1cf9e90525c2 /Makefile
parenteed8b2ff91a371ec7c6d9c41f63c4522863474f3 (diff)
remove Makefile magic for leading '0' in version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8145f253ef..2261d3488b 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 >> $@