From 59a626f9a5e8fc2562519a406c334d301ca906c6 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Tue, 14 Nov 2006 20:58:17 +0100 Subject: [PATCH] move ChangeLog to Documentation/misc/ ; generate from git-whatchanged --- ChangeLog => Documentation/misc/ChangeLog-2.10 | 0 GNUmakefile.in | 11 +++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) rename ChangeLog => Documentation/misc/ChangeLog-2.10 (100%) diff --git a/ChangeLog b/Documentation/misc/ChangeLog-2.10 similarity index 100% rename from ChangeLog rename to Documentation/misc/ChangeLog-2.10 diff --git a/GNUmakefile.in b/GNUmakefile.in index 17182a8793..70d937a7f4 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -17,7 +17,7 @@ SUBDIRS = buildscripts python scripts \ documentation-dir=$(if $(findstring no,$(DOCUMENTATION)),,Documentation) SCRIPTS = configure autogen.sh -README_FILES = ChangeLog COPYING DEDICATION ROADMAP THANKS HACKING +README_FILES = COPYING DEDICATION ROADMAP THANKS HACKING TOPDOC_FILES=AUTHORS README INSTALL NEWS TOPDOC_TXT_FILES = $(addprefix $(top-build-dir)/Documentation/topdocs/$(outdir)/,$(addsuffix .txt,$(TOPDOC_FILES))) IN_FILES := $(call src-wildcard,*.in) @@ -32,7 +32,14 @@ INSTALLATION_FILES=$(config_make) VERSION STEPMAKE_TEMPLATES=toplevel po install include $(depth)/make/stepmake.make -local-dist: dist-toplevel-txt-files +local-dist: dist-toplevel-txt-files dist-changelog + +dist-changelog: + if test -d .git ; then \ + git-whatchanged gub-2.9.29-2.. > $(distdir)/ChangeLog ; \ + else \ + cp $(srcdir)/ChangeLog $(distdir) ; \ + fi default: $(outdir)/VERSION -- 2.39.5