X-Git-Url: https://jxself.org/git/?p=8sync.git;a=blobdiff_plain;f=Makefile.am;h=29a89d2138e6b43a8e4b929c40b4da16209aa135;hp=bd1587a24cb8fbddbb4a3d9c867db5b7a10f2e8e;hb=bac983c63c927ceaaafa536d7283c102b562dc03;hpb=5ad09886e8c3a1282c4f73e814085d545ef3ffae diff --git a/Makefile.am b/Makefile.am index bd1587a..29a89d2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -69,3 +69,14 @@ EXTRA_DIST = \ $(TESTS) \ pre-inst-env.in \ tests/utils.scm + +dist-hook: gen-ChangeLog +# gen-AUTHORS might be useful to borrow from Guix + +gen-ChangeLog: + if test -d .git; then \ + $(top_srcdir)/build-aux/gitlog-to-changelog --since 2015-11-28 \ + > $(distdir)/cl-t; \ + rm -f $(distdir)/ChangeLog; \ + mv $(distdir)/cl-t $(distdir)/ChangeLog; \ + fi