mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
build: Generate a ChangeLog file upon "make dist".
* Makefile.am (sync-synopses): New rule, formerly `dist-hook. (gen-ChangeLog): New rule. (dist-hook): Depend on these two targets.
This commit is contained in:
parent
c0cd1b3ea7
commit
e793178adb
2 changed files with 17 additions and 2 deletions
|
@ -1 +1,4 @@
|
||||||
Please see the Git commit log at <https://gitorious.org/guix>.
|
Normally a ChangeLog is generated at "make dist" time and available in
|
||||||
|
source tarballs.
|
||||||
|
|
||||||
|
If not, see the Git commit log at <http://git.sv.gnu.org/cgit/guix.git/>.
|
||||||
|
|
14
Makefile.am
14
Makefile.am
|
@ -412,6 +412,18 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \
|
||||||
--with-nix-prefix="$(NIX_PREFIX)" \
|
--with-nix-prefix="$(NIX_PREFIX)" \
|
||||||
--enable-daemon
|
--enable-daemon
|
||||||
|
|
||||||
dist-hook:
|
dist-hook: sync-synopses gen-ChangeLog
|
||||||
|
|
||||||
|
sync-synopses:
|
||||||
-$(top_builddir)/pre-inst-env $(GUILE) \
|
-$(top_builddir)/pre-inst-env $(GUILE) \
|
||||||
$(top_srcdir)/build-aux/sync-synopses.scm
|
$(top_srcdir)/build-aux/sync-synopses.scm
|
||||||
|
|
||||||
|
gen-ChangeLog:
|
||||||
|
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; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
.PHONY: sync-synopses gen-ChangeLog
|
||||||
|
|
Loading…
Reference in a new issue