diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-07-30 13:38:53 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-07-30 13:38:53 +0200 |
commit | e1b802a7dbcd88fc4965dbee9faf55c6bd3f5601 (patch) | |
tree | 52ae1186369bceeb9b928e885df99313a93fb5b2 /Makefile.am | |
parent | 75d7bb02bffd5b11a900175b7268cf8669200f8d (diff) |
update ChangeLog
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am index 8152af012d..60f54ea9e4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,16 +20,17 @@ distclean-local: rm -rf udev-test-install rm -f udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2 -ChangeLog: - @ mv $@ $@.tmp - @ echo "Summary of changes from v$(shell echo $$(($(VERSION) - 1))) to v$(VERSION)" >> $@ - @ echo "============================================" >> $@ - @ echo >> $@ - @ git log --pretty=short $(shell echo $$(($(VERSION) - 1)))..HEAD | git shortlog >> $@ - @ echo >> $@ - @ cat $@ - @ cat $@.tmp >> $@ - @ rm $@.tmp +changelog: + @ head -1 ChangeLog | grep -q "to v$(shell echo $$(($(VERSION) - 1)))" + @ mv ChangeLog ChangeLog.tmp + @ echo "Summary of changes from v$(shell echo $$(($(VERSION) - 1))) to v$(VERSION)" >> ChangeLog + @ echo "============================================" >> ChangeLog + @ echo >> ChangeLog + @ git log --pretty=short $(shell echo $$(($(VERSION) - 1)))..HEAD | git shortlog >> ChangeLog + @ echo >> ChangeLog + @ cat ChangeLog + @ cat ChangeLog.tmp >> ChangeLog + @ rm ChangeLog.tmp test-run: cd test && ./udev-test.pl |