From cccfc66760fe479692852adf62167857243b4847 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 12 Jan 2020 19:39:00 +0900 Subject: [PATCH] Added make target to export the ChangeLog file --- common.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common.mk b/common.mk index 22e7d99237..ad32792dab 100644 --- a/common.mk +++ b/common.mk @@ -1523,6 +1523,11 @@ update-man-date: PHONY -e '$$_.sub!(/^(\.Dd ).*/){$$1+@vcs.modified(ARGF.path).strftime("%B %d, %Y")}' \ "$(srcdir)" "$(srcdir)"/man/*.1 +ChangeLog: + -$(Q) $(BASERUBY) -I"$(srcdir)/tool/lib" -rvcs \ + -e 'VCS.detect(ARGV[0]).export_changelog("@", nil, nil, ARGV[1])' \ + "$(srcdir)" $@ + HELP_EXTRA_TASKS = "" help: PHONY