Skip to content
Snippets Groups Projects
Commit 0d7a948c authored by Luca Bruno's avatar Luca Bruno Committed by Spencer Oliver
Browse files

Automatically generate ChangeLog from git log for release tarball


make dist should use git2cl to generate ChangeLog from git history,
populating the placeholder file in released tarball.

Signed-off-by: default avatarLuca Bruno <lucab@debian.org>
Signed-off-by: default avatarSpencer Oliver <ntfreak@users.sourceforge.net>
parent 29f0ac0e
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,9 @@ TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' | \
sed -e 's,^$(srcdir)/$(TCL_PATH),,'
dist-hook:
if test -d $(srcdir)/.git -a \( ! -e $(distdir)/ChangeLog -o -w $(distdir)/ChangeLog \) ; then \
git --git-dir $(srcdir)/.git log | $(srcdir)/tools/git2cl/git2cl > $(distdir)/ChangeLog ; \
fi
for i in $$($(TCL_FILES)); do \
j="$(distdir)/$(TCL_PATH)/$$i" && \
mkdir -p "$$(dirname $$j)" && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment