1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 07:51:08 +03:00

remove Makefile magic for leading '0' in version

This commit is contained in:
Kay Sievers 2006-09-07 11:49:51 +02:00
parent eed8b2ff91
commit adc8e4b91e

View File

@ -326,10 +326,10 @@ buildtest:
ChangeLog: Makefile ChangeLog: Makefile
@ mv $@ $@.tmp @ 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 "============================================" >> $@
@ 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 >> $@ @ echo >> $@
@ cat $@ @ cat $@
@ cat $@.tmp >> $@ @ cat $@.tmp >> $@