* Makefile.am (gen-ChangeLog): Generate BuDDy's ChangeLog.
This commit is contained in:
parent
613c485c24
commit
5601806e24
1 changed files with 16 additions and 5 deletions
11
Makefile.am
11
Makefile.am
|
|
@ -72,6 +72,7 @@ EXTRA_DIST = HACKING ChangeLog.1 tools/gitlog-to-changelog \
|
||||||
dist-hook: gen-ChangeLog
|
dist-hook: gen-ChangeLog
|
||||||
|
|
||||||
gen_start = 2012-03-10
|
gen_start = 2012-03-10
|
||||||
|
gen_start_buddy = 2014-02-13
|
||||||
.PHONY: gen-ChangeLog deb
|
.PHONY: gen-ChangeLog deb
|
||||||
gen-ChangeLog:
|
gen-ChangeLog:
|
||||||
if test -d .git; then \
|
if test -d .git; then \
|
||||||
|
|
@ -88,6 +89,16 @@ gen-ChangeLog:
|
||||||
--stdin --no-walk > $(distdir)/cl-t; \
|
--stdin --no-walk > $(distdir)/cl-t; \
|
||||||
rm -f $(distdir)/ChangeLog; \
|
rm -f $(distdir)/ChangeLog; \
|
||||||
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
|
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
|
||||||
|
## Now do the same for BuDDy
|
||||||
|
git log --since=$(gen_start_buddy) --pretty=oneline | \
|
||||||
|
grep '........................................ \[buddy\]' | \
|
||||||
|
cut -c 1-40 | \
|
||||||
|
$(top_srcdir)/tools/gitlog-to-changelog \
|
||||||
|
--no-cluster --format='%s%n%n%b%n' -- \
|
||||||
|
--stdin --no-walk | \
|
||||||
|
sed 's/^ \[buddy\] / /g' >$(distdir)/cl-t; \
|
||||||
|
rm -f $(distdir)/buddy/ChangeLog; \
|
||||||
|
mv $(distdir)/cl-t $(distdir)/buddy/ChangeLog; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build Debian packages.
|
# Build Debian packages.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue