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

Signed-off-by: Luca Bruno <lu...@debian.org>
---
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1b19ba4..c4c7da7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -68,6 +68,7 @@ TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name 
'*.tcl' | \
                sed -e 's,^$(srcdir)/$(TCL_PATH),,'
 
 dist-hook:
+       $(srcdir)/tools/git2cl/git2cl > $(distdir)/ChangeLog
        for i in $$($(TCL_FILES)); do \
                j="$(distdir)/$(TCL_PATH)/$$i" && \
                mkdir -p "$$(dirname $$j)" && \
-- 
1.7.5.4

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to