diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-07-15 23:06:14 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-07-15 23:51:28 +0200 |
commit | 56fbf2629f10b134e5f6e916e4fc33b0c0658da8 (patch) | |
tree | 8aa8da4424714a4e8ab087ca568285090e0a0d13 /Makefile.am | |
parent | 50af57901ab0eb74555aaa57f2ad6fa303a9ac2b (diff) | |
download | guix-56fbf2629f10b134e5f6e916e4fc33b0c0658da8.tar.gz |
build: Check for the availability of binaries upon "distcheck".
* build-aux/check-available-binaries.scm: New file. * Makefile.am (EXTRA_DIST): Add it. (distcheck-hook, assert-binaries-available): New target.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index dd087bf442..ecda21c77f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -129,6 +129,7 @@ EXTRA_DIST = \ TODO \ .dir-locals.el \ build-aux/hydra/gnu-system.scm \ + build-aux/check-available-binaries.scm \ build-aux/download.scm \ build-aux/list-packages.scm \ build-aux/sync-synopses.scm \ @@ -211,6 +212,7 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \ --enable-daemon dist-hook: sync-synopses gen-ChangeLog assert-no-store-file-names +distcheck-hook: assert-binaries-available sync-synopses: -$(top_builddir)/pre-inst-env $(GUILE) \ @@ -233,4 +235,10 @@ assert-no-store-file-names: exit 1 ; \ fi -.PHONY: sync-synopses gen-ChangeLog assert-no-store-file-names +# Make sure hydra.gnu.org has the important binaries. +assert-binaries-available: + $(top_builddir)/pre-inst-env "$(GUILE)" \ + "$(top_srcdir)/build-aux/check-available-binaries.scm" + +.PHONY: sync-synopses gen-ChangeLog +.PHONY: assert-no-store-file-names assert-binaries-available |