From 0988b883057839e1f1f6fd2c73a8ec244f4efc6c Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Thu, 16 Sep 2021 12:31:44 +0900 Subject: Generate `ChangeLog` when `make dist` is executed. * Makefile.am: Add gen-ChengeLog. * build-aux/gitlog-to-changelog: New file. * ChangeLog: Replace to template. --- Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 44052ed..9c0981a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,3 +66,10 @@ EXTRA_DIST += \ build-aux/test-driver.scm \ guix.scm \ $(TESTS) + +dist-hook: gen-ChangeLog + +gen-ChangeLog: + "$(top_srcdir)/build-aux/gitlog-to-changelog" > "$(distdir)/ChangeLog" + +.PHONY: gen-ChangeLog -- cgit v1.2.3