Commit e793178a authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

build: Generate a ChangeLog file upon "make dist".

* (sync-synopses): New rule, formerly `dist-hook.
  (gen-ChangeLog): New rule.
  (dist-hook): Depend on these two targets.
parent c0cd1b3e
Please see the Git commit log at <>.
Normally a ChangeLog is generated at "make dist" time and available in
source tarballs.
If not, see the Git commit log at <>.
......@@ -412,6 +412,18 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \
--with-nix-prefix="$(NIX_PREFIX)" \
dist-hook: sync-synopses gen-ChangeLog
-$(top_builddir)/pre-inst-env $(GUILE) \
if test -d .git; then \
$(top_srcdir)/build-aux/gitlog-to-changelog \
> $(distdir)/cl-t; \
rm -f $(distdir)/ChangeLog; \
mv $(distdir)/cl-t $(distdir)/ChangeLog; \
.PHONY: sync-synopses gen-ChangeLog
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment