Automate Changelog updates
This commit is contained in:
parent
e3f3cf28bf
commit
ab34029ca2
2 changed files with 9 additions and 519 deletions
|
|
@ -11,6 +11,15 @@ rpm: dist
|
|||
rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
|
||||
@rm -f $(PACKAGE)-$(VERSION).tar.gz
|
||||
|
||||
.PHONY: ChangeLog
|
||||
|
||||
ChangeLog: Makefile
|
||||
(GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp \
|
||||
&& mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
|
||||
|| (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)
|
||||
|
||||
dist-hook: ChangeLog
|
||||
|
||||
EXTRA_DIST = \
|
||||
intltool-extract.in \
|
||||
intltool-merge.in \
|
||||
|
|
|
|||
Reference in a new issue