gnu: cross-kernel-headers: Remove propagated-inputs from xhurd-headers.
[jackhill/guix/guix.git] / Makefile.am
CommitLineData
233e7676 1# GNU Guix --- Functional package management for GNU
bb251307 2# Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
f2499672 3# Copyright © 2013 Andreas Enge <andreas@enge.fr>
a8ac45b1 4# Copyright © 2015 Alex Kost <alezost@gmail.com>
8c3d8894 5# Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
adddd5ba 6# Copyright © 2016 Mark H Weaver <mhw@netris.org>
af51c820 7#
233e7676 8# This file is part of GNU Guix.
af51c820 9#
233e7676 10# GNU Guix is free software; you can redistribute it and/or modify it
af51c820
LC
11# under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 3 of the License, or (at
13# your option) any later version.
14#
233e7676 15# GNU Guix is distributed in the hope that it will be useful, but
af51c820
LC
16# WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
233e7676 21# along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
af51c820 22
c52a5bf0 23bin_SCRIPTS = \
e49951eb 24 scripts/guix
14a1c319 25
58867ae7
MW
26nodist_noinst_SCRIPTS = \
27 pre-inst-env \
28 test-env
29
03d0e2d2 30include gnu/local.mk
d516736c 31
af51c820 32MODULES = \
ddc29a78 33 guix/base32.scm \
e9c6c584 34 guix/base64.scm \
7a18c3cc 35 guix/cpio.scm \
c0cd1b3e 36 guix/records.scm \
4862bc4a 37 guix/gcrypt.scm \
72626a71 38 guix/hash.scm \
3476ded9 39 guix/pk-crypto.scm \
8b420f74 40 guix/pki.scm \
958dd3ce 41 guix/combinators.scm \
73fbb904 42 guix/utils.scm \
d326767e 43 guix/sets.scm \
7ca87354 44 guix/modules.scm \
de1355f1 45 guix/download.scm \
9b5b5c17 46 guix/git-download.scm \
c4e48b68 47 guix/hg-download.scm \
b860f382 48 guix/monads.scm \
b9b86078 49 guix/monad-repl.scm \
21b679f6 50 guix/gexp.scm \
cc4ecc2d 51 guix/profiles.scm \
0f41c26f
LC
52 guix/serialization.scm \
53 guix/nar.scm \
af51c820 54 guix/derivations.scm \
7adf9b84 55 guix/grafts.scm \
22189ed1 56 guix/gnu-maintenance.scm \
0a7c5a09 57 guix/upstream.scm \
838d78e3 58 guix/licenses.scm \
8fb58371 59 guix/graph.scm \
0eef7551 60 guix/cve.scm \
72153902 61 guix/zlib.scm \
208f7cd1 62 guix/build-system.scm \
5f7a1a4d 63 guix/build-system/ant.scm \
c6bded8a 64 guix/build-system/cmake.scm \
e9137a53 65 guix/build-system/emacs.scm \
a1b30f99 66 guix/build-system/asdf.scm \
be3425e5 67 guix/build-system/glib-or-gtk.scm \
208f7cd1 68 guix/build-system/gnu.scm \
ce6fc7d6 69 guix/build-system/haskell.scm \
08fd1ebe 70 guix/build-system/perl.scm \
40506d5d 71 guix/build-system/python.scm \
a677c726 72 guix/build-system/waf.scm \
f8f3bef6 73 guix/build-system/r.scm \
c08f9818 74 guix/build-system/ruby.scm \
be13fbfa 75 guix/build-system/trivial.scm \
457dd86d 76 guix/ftp-client.scm \
3b8258c5 77 guix/http-client.scm \
0fdd3bea 78 guix/gnupg.scm \
d5d16686 79 guix/elf.scm \
af51c820 80 guix/store.scm \
89328d24 81 guix/cvs-download.scm \
b3acf365 82 guix/svn-download.scm \
073c34d7 83 guix/ui.scm \
5f7a1a4d 84 guix/build/ant-build-system.scm \
62cab99c 85 guix/build/download.scm \
c6bded8a 86 guix/build/cmake-build-system.scm \
e9137a53 87 guix/build/emacs-build-system.scm \
a1b30f99 88 guix/build/asdf-build-system.scm \
9b5b5c17 89 guix/build/git.scm \
c4e48b68 90 guix/build/hg.scm \
be3425e5 91 guix/build/glib-or-gtk-build-system.scm \
af51c820 92 guix/build/gnu-build-system.scm \
fe12c345 93 guix/build/gnu-dist.scm \
08fd1ebe 94 guix/build/perl-build-system.scm \
40506d5d 95 guix/build/python-build-system.scm \
f8f3bef6 96 guix/build/r-build-system.scm \
c08f9818 97 guix/build/ruby-build-system.scm \
a677c726 98 guix/build/waf-build-system.scm \
9fd6c2ba 99 guix/build/haskell-build-system.scm \
6fd1a796 100 guix/build/store-copy.scm \
1273d44a 101 guix/build/utils.scm \
c8c88afa 102 guix/build/union.scm \
611adb1e 103 guix/build/profiles.scm \
3dbeecd2 104 guix/build/pull.scm \
3309e3a1 105 guix/build/rpath.scm \
89328d24 106 guix/build/cvs.scm \
b3acf365 107 guix/build/svn.scm \
875715ca 108 guix/build/syscalls.scm \
15aa2c38 109 guix/build/gremlin.scm \
75f3b1a1 110 guix/build/emacs-utils.scm \
a1b30f99 111 guix/build/lisp-utils.scm \
fb59e275 112 guix/build/graft.scm \
f2e4805b 113 guix/build/bournish.scm \
2098d024 114 guix/build/qt-utils.scm \
e89431bf 115 guix/search-paths.scm \
e3ce5d70 116 guix/packages.scm \
1b3e9685 117 guix/import/utils.scm \
7047133f 118 guix/import/gnu.scm \
1b3e9685 119 guix/import/snix.scm \
a4154748 120 guix/import/cabal.scm \
e1248602 121 guix/import/cran.scm \
a4154748 122 guix/import/hackage.scm \
7f74a931 123 guix/import/elpa.scm \
88981dd3 124 guix/scripts.scm \
de1355f1 125 guix/scripts/download.scm \
94d92c77 126 guix/scripts/perform-download.scm \
de1355f1 127 guix/scripts/build.scm \
760c60d6 128 guix/scripts/archive.scm \
de1355f1
LC
129 guix/scripts/import.scm \
130 guix/scripts/package.scm \
131 guix/scripts/gc.scm \
132 guix/scripts/hash.scm \
133 guix/scripts/pull.scm \
2c74fde0 134 guix/scripts/substitute.scm \
526382ff 135 guix/scripts/authenticate.scm \
de1355f1 136 guix/scripts/refresh.scm \
523e4896 137 guix/scripts/system.scm \
b4f5e0e8 138 guix/scripts/lint.scm \
d23c20f1 139 guix/scripts/challenge.scm \
e1248602 140 guix/scripts/import/cran.scm \
7047133f 141 guix/scripts/import/gnu.scm \
1b3e9685 142 guix/scripts/import/nix.scm \
a4154748 143 guix/scripts/import/hackage.scm \
7f74a931 144 guix/scripts/import/elpa.scm \
372c4bbc 145 guix/scripts/environment.scm \
aff8ce7c 146 guix/scripts/publish.scm \
39bee8a2 147 guix/scripts/edit.scm \
fcc58db6 148 guix/scripts/size.scm \
88856916 149 guix/scripts/graph.scm \
32efa254
DT
150 guix/scripts/container.scm \
151 guix/scripts/container/exec.scm \
e3ce5d70 152 guix.scm \
d516736c 153 $(GNU_SYSTEM_MODULES)
af51c820 154
bb251307
LC
155if HAVE_GUILE_JSON
156
157MODULES += \
70161842 158 guix/import/github.scm \
bb251307
LC
159 guix/import/json.scm \
160 guix/import/pypi.scm \
161 guix/scripts/import/pypi.scm \
162 guix/import/cpan.scm \
163 guix/scripts/import/gem.scm \
164 guix/import/gem.scm
165
166endif
167
49e6291a
LC
168if BUILD_DAEMON_OFFLOAD
169
170MODULES += \
171 guix/scripts/offload.scm
172
173endif BUILD_DAEMON_OFFLOAD
174
17ab08bc
LC
175# Internal modules with test suite support.
176dist_noinst_DATA = guix/tests.scm guix/tests/http.scm
c1bc358f 177
a94546ec
LC
178# Linux-Libre configurations.
179KCONFIGS = \
1927839d
MW
180 gnu/packages/linux-libre-4.8-i686.conf \
181 gnu/packages/linux-libre-4.8-x86_64.conf \
75b314a6
MW
182 gnu/packages/linux-libre-4.4-i686.conf \
183 gnu/packages/linux-libre-4.4-x86_64.conf \
adddd5ba
MW
184 gnu/packages/linux-libre-4.1-i686.conf \
185 gnu/packages/linux-libre-4.1-x86_64.conf
1959fb04 186
ebc32b31
LC
187# Templates, examples.
188EXAMPLES = \
36ffaca2 189 gnu/system/examples/bare-bones.tmpl \
d038b674
LC
190 gnu/system/examples/desktop.tmpl \
191 gnu/system/examples/lightweight-desktop.tmpl
ebc32b31 192
17ab08bc 193GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go $(dist_noinst_DATA:%.scm=%.go)
af51c820 194
74574fd1
RW
195nobase_dist_guilemodule_DATA = \
196 $(MODULES) $(KCONFIGS) $(EXAMPLES) \
197 $(MISC_DISTRO_FILES)
1959fb04 198nobase_nodist_guilemodule_DATA = $(GOBJECTS) guix/config.scm
800cdeef 199
1959fb04
LC
200# Do we need to provide our own non-broken (srfi srfi-37) module?
201if INSTALL_SRFI_37
202
203nobase_nodist_guilemodule_DATA += srfi/srfi-37.scm
204GOBJECTS += srfi/srfi-37.go
205
206srfi/srfi-37.scm: srfi/srfi-37.scm.in
207 $(MKDIR_P) srfi
208 cp "$<" "$@"
209
210endif INSTALL_SRFI_37
ac5aa288 211
70a9c720
LC
212# Handy way to remove the .go files without removing all the rest.
213clean-go:
214 -$(RM) -f $(GOBJECTS)
cdf26f40
EB
215 @find . -name '*.go' -print | \
216 if test -t 1; then \
217 xargs -r echo -e "\033[31mwarning:\033[0m stray .go files:"; \
218 else \
219 xargs -r echo "warning: stray .go files:"; \
220 fi
70a9c720 221
af51c820 222
bb251307
LC
223# Test extensions; has to be unconditional.
224TEST_EXTENSIONS = .scm .sh
225
226if CAN_RUN_TESTS
227
30dd8310 228SCM_TESTS = \
ddc29a78 229 tests/base32.scm \
e9c6c584 230 tests/base64.scm \
7a18c3cc 231 tests/cpio.scm \
69927e78 232 tests/hash.scm \
3476ded9 233 tests/pk-crypto.scm \
8b420f74 234 tests/pki.scm \
d326767e 235 tests/sets.scm \
7ca87354 236 tests/modules.scm \
202440e0 237 tests/gnu-maintenance.scm \
2c74fde0 238 tests/substitute.scm \
af51c820
LC
239 tests/builders.scm \
240 tests/derivations.scm \
7adf9b84 241 tests/grafts.scm \
299112d3 242 tests/ui.scm \
c0cd1b3e 243 tests/records.scm \
f1eacbaf 244 tests/upstream.scm \
958dd3ce 245 tests/combinators.scm \
e3ce5d70 246 tests/utils.scm \
b0e0d0e9 247 tests/build-utils.scm \
c8c88afa 248 tests/packages.scm \
10226c05 249 tests/snix.scm \
a4154748 250 tests/hackage.scm \
e1248602 251 tests/cran.scm \
7f74a931 252 tests/elpa.scm \
3259877d 253 tests/store.scm \
b860f382 254 tests/monads.scm \
21b679f6 255 tests/gexp.scm \
53c63ee9 256 tests/nar.scm \
a2078770 257 tests/union.scm \
29fa45f4 258 tests/profiles.scm \
b4f5e0e8 259 tests/syscalls.scm \
15aa2c38 260 tests/gremlin.scm \
f82c5853 261 tests/bournish.scm \
aff8ce7c 262 tests/lint.scm \
fcc58db6 263 tests/publish.scm \
88981dd3 264 tests/scripts.scm \
c1f6a0c2 265 tests/size.scm \
88856916 266 tests/graph.scm \
d23c20f1 267 tests/challenge.scm \
0eef7551 268 tests/cve.scm \
72153902 269 tests/zlib.scm \
661a1d79 270 tests/file-systems.scm \
6b779207 271 tests/system.scm \
0adfe95a 272 tests/services.scm \
629a064f 273 tests/scripts-build.scm \
a132f7d6
BW
274 tests/containers.scm \
275 tests/import-utils.scm
30dd8310 276
1b3e9685
DT
277if HAVE_GUILE_JSON
278
d45dc6da
EB
279SCM_TESTS += \
280 tests/pypi.scm \
a96524cc
DT
281 tests/cpan.scm \
282 tests/gem.scm
1b3e9685
DT
283
284endif
285
30dd8310 286SH_TESTS = \
0afdc485 287 tests/guix-build.sh \
37d19403 288 tests/guix-download.sh \
fe8ff028 289 tests/guix-gc.sh \
ccbce848 290 tests/guix-hash.sh \
0820098d 291 tests/guix-package.sh \
57b86237 292 tests/guix-package-net.sh \
c1202fb1 293 tests/guix-system.sh \
760c60d6 294 tests/guix-archive.sh \
dd7c013d 295 tests/guix-authenticate.sh \
cad25264 296 tests/guix-environment.sh \
f535dcbe 297 tests/guix-environment-container.sh \
88856916 298 tests/guix-graph.sh \
dd7c013d 299 tests/guix-lint.sh
af51c820 300
a7a4e6a4
LC
301if BUILD_DAEMON
302
303SH_TESTS += tests/guix-register.sh
304
305endif BUILD_DAEMON
306
307
30dd8310
LC
308TESTS = $(SCM_TESTS) $(SH_TESTS)
309
a9edb211 310AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0
352ec143 311
4d9ed584
LC
312SCM_LOG_DRIVER = \
313 $(top_builddir)/test-env --quiet-stderr \
314 $(GUILE) --no-auto-compile -e main \
315 $(top_srcdir)/build-aux/test-driver.scm
316
a9edb211 317AM_SCM_LOG_DRIVER_FLAGS = --brief=yes
97298ffa 318
69cfce50 319SH_LOG_COMPILER = $(top_builddir)/test-env $(SHELL)
97298ffa 320AM_SH_LOG_FLAGS = -x -e
af51c820 321
3a33730a
LC
322# Make sure `tests/guix-gc.sh' runs last, after all the others. Otherwise it
323# could end up removing files from the store while they are being used by
324# other instances of the daemon.
325tests/guix-gc.log: \
326 $(patsubst %.sh,%.log,$(filter-out tests/guix-gc.sh,$(SH_TESTS))) \
327 $(SCM_TESTS:%.scm=%.log)
328
bb251307
LC
329else !CAN_RUN_TESTS
330
331TESTS =
332SH_TESTS =
333SCM_TESTS =
334
335# Automake always generates a 'check' target, so better not override it.
336check-local:
337 @echo
338 @echo "Cannot run tests because file name limits would be exceeded." >&2
339 @echo "Look for 'length' in the 'config.log' file for details." >&2
340 @echo
341 @exit 1
342
343endif !CAN_RUN_TESTS
344
e9f693d0 345check-system: $(GOBJECTS)
e9f693d0
LC
346 $(AM_V_at)$(top_builddir)/pre-inst-env \
347 $(GUILE) --no-auto-compile \
348 -e '(@@ (run-system-tests) run-system-tests)' \
349 $(top_srcdir)/build-aux/run-system-tests.scm
350
bf59c06d 351# Public key used to sign substitutes from hydra.gnu.org.
6c110833 352dist_pkgdata_DATA = hydra.gnu.org.pub
3a33730a 353
ee3e157d
LC
354# Bash completion file.
355dist_bashcompletion_DATA = etc/completion/bash/guix
356
96dbc930
ELB
357# Zsh completion file.
358dist_zshcompletion_DATA = etc/completion/zsh/_guix
359
81f61c17
LC
360EXTRA_DIST = \
361 HACKING \
362 ROADMAP \
363 TODO \
e15fcdd1 364 CODE-OF-CONDUCT \
81f61c17 365 .dir-locals.el \
f81ac34d 366 build-aux/build-self.scm \
de6af327 367 build-aux/compile-all.scm \
89cbec89 368 build-aux/hydra/evaluate.scm \
81f61c17
LC
369 build-aux/hydra/gnu-system.scm \
370 build-aux/hydra/demo-os.scm \
371 build-aux/hydra/guix.scm \
372 build-aux/check-available-binaries.scm \
373 build-aux/check-final-inputs-self-contained.scm \
374 build-aux/download.scm \
8bc35f85 375 build-aux/make-binary-tarball.scm \
1c2ae810 376 build-aux/generate-authors.scm \
3cf0dbda 377 build-aux/test-driver.scm \
41c569d9 378 build-aux/run-system-tests.scm \
81f61c17
LC
379 srfi/srfi-37.scm.in \
380 srfi/srfi-64.scm \
381 srfi/srfi-64.upstream.scm \
382 tests/test.drv \
383 tests/signing-key.pub \
384 tests/signing-key.sec \
0eef7551 385 tests/cve-sample.xml \
81f61c17
LC
386 build-aux/config.rpath \
387 bootstrap \
388 release.nix \
ed795c06 389 $(TESTS)
d7672884 390
49e6291a
LC
391if !BUILD_DAEMON_OFFLOAD
392
393EXTRA_DIST += \
394 guix/scripts/offload.scm
395
396endif !BUILD_DAEMON_OFFLOAD
397
398
30dd8310
LC
399CLEANFILES = \
400 $(GOBJECTS) \
9bff16b3 401 $(SCM_TESTS:tests/%.scm=%.log)
af51c820 402
28561d85
LC
403# Unset 'GUILE_LOAD_COMPILED_PATH' altogether while compiling. Otherwise, if
404# $GUILE_LOAD_COMPILED_PATH contains $(moduledir), we may find .go files in
405# there that are newer than the local .scm files (for instance because the
406# user ran 'make install' recently). When that happens, we end up loading
407# those previously-installed .go files, which may be stale, thereby breaking
d92e23dc
LC
408# the whole thing. Likewise, set 'XDG_CACHE_HOME' to avoid loading possibly
409# stale files from ~/.cache/guile/ccache.
de6af327 410%.go: make-go ; @:
17ab08bc 411make-go: $(MODULES) guix/config.scm $(dist_noinst_DATA)
de6af327 412 $(AM_V_at)echo "Compiling Scheme modules..." ; \
28561d85 413 unset GUILE_LOAD_COMPILED_PATH ; \
d92e23dc 414 XDG_CACHE_HOME=/nowhere \
de6af327 415 host=$(host) srcdir="$(top_srcdir)" \
671d8f5e 416 $(top_builddir)/pre-inst-env \
de6af327
TUBK
417 $(GUILE) -L "$(top_builddir)" -L "$(top_srcdir)" \
418 --no-auto-compile \
419 -s "$(top_srcdir)"/build-aux/compile-all.scm $^
af51c820
LC
420
421SUFFIXES = .go
422
423# Make sure source files are installed first, so that the mtime of
424# installed compiled files is greater than that of installed source
425# files. See
426# <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
427# for details.
428guix_install_go_files = install-nobase_nodist_guilemoduleDATA
429$(guix_install_go_files): install-nobase_dist_guilemoduleDATA
f68b0893 430
6005bd07
LC
431# The above trick doesn't work for 'config.go' because both 'config.scm' and
432# 'config.go' are listed in $(nobase_nodist_guilemodule_DATA). Thus, give it
433# special treatment.
434install-data-hook: set-bootstrap-executable-permissions
435 touch "$(DESTDIR)$(guilemoduledir)/guix/config.go"
436
437
ee764179 438SUBDIRS = po/guix po/packages
931c132a 439BUILT_SOURCES =
a9424c08 440
03d0e2d2 441include doc/local.mk
568717fd 442
c2033df4
LC
443if BUILD_DAEMON
444
03d0e2d2 445include nix/local.mk
c2033df4
LC
446
447endif BUILD_DAEMON
448
f68b0893 449ACLOCAL_AMFLAGS = -I m4
ef5f5c86
LC
450
451# Pass an explicit '--localstatedir' so that configure does not error out if
452# it finds an existing installation with a different localstatedir.
e76bdf8b 453AM_DISTCHECK_CONFIGURE_FLAGS = \
ef5f5c86 454 --localstatedir="$$dc_install_base/var" \
d388c2c4 455 --with-libgcrypt-prefix="$(LIBGCRYPT_PREFIX)" \
14af289e 456 --with-libgcrypt-libdir="$(LIBGCRYPT_LIBDIR)" \
aca54b39
LC
457 --with-nix-prefix="$(NIX_PREFIX)" \
458 --enable-daemon
0e993428 459
457f60fa
AK
460dist_emacsui_DATA = emacs/guix-main.scm
461nodist_emacsui_DATA = emacs/guix-helper.scm
03d0e2d2 462include emacs/local.mk
457f60fa 463
9d3fb6c7
LC
464# The self-contained tarball.
465guix-binary.%.tar.xz:
e71ad29d 466 $(AM_V_GEN)GUIX_PACKAGE_PATH= \
9d3fb6c7
LC
467 $(top_builddir)/pre-inst-env "$(GUILE)" \
468 "$(top_srcdir)/build-aux/make-binary-tarball.scm" "$*" "$@"
469
470
a8ac45b1
AK
471dist-hook: sync-descriptions gen-ChangeLog gen-AUTHORS
472dist-hook: assert-no-store-file-names
473
81f61c17 474distcheck-hook: assert-binaries-available assert-final-inputs-self-contained
e793178a 475
668d48a6 476sync-descriptions:
e71ad29d 477 $(AM_V_at)GUIX_PACKAGE_PATH= \
36c45230 478 $(top_builddir)/pre-inst-env guix lint --checkers=gnu-description
e793178a
LC
479
480gen-ChangeLog:
e71ad29d 481 $(AM_V_GEN)if test -d .git; then \
e793178a
LC
482 $(top_srcdir)/build-aux/gitlog-to-changelog \
483 > $(distdir)/cl-t; \
484 rm -f $(distdir)/ChangeLog; \
485 mv $(distdir)/cl-t $(distdir)/ChangeLog; \
486 fi
487
a8ac45b1 488gen-AUTHORS:
e71ad29d 489 $(AM_V_GEN)if test -d .git; then \
ac140f79
LC
490 rm -f "$(distdir)/AUTHORS"; \
491 $(top_builddir)/pre-inst-env "$(GUILE)" \
492 "$(top_srcdir)/build-aux/generate-authors.scm" \
493 "$(top_srcdir)" "$(distdir)/AUTHORS"; \
494 fi
a8ac45b1 495
834129e0 496# Make sure we're not shipping a file that embeds a local /gnu/store file name.
a463ffd9 497assert-no-store-file-names:
e71ad29d 498 $(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info \
69e7322f
LC
499 --exclude=*.info-[0-9] --exclude=*.dot \
500 --exclude=*.eps --exclude-dir=bootstrap \
501 --exclude=guix-prettify.el \
502 -E "$(storedir)/[a-z0-9]{32}-" $(distdir) ; \
a463ffd9
LC
503 then \
504 echo "error: store file names embedded in the distribution" >&2 ; \
505 exit 1 ; \
506 fi
507
56fbf262 508# Make sure hydra.gnu.org has the important binaries.
93cba30c 509assert-binaries-available: $(GOBJECTS)
e71ad29d 510 $(AM_V_at)$(top_builddir)/pre-inst-env "$(GUILE)" \
56fbf262
LC
511 "$(top_srcdir)/build-aux/check-available-binaries.scm"
512
81f61c17 513# Make sure the final inputs don't refer to bootstrap tools.
93cba30c 514assert-final-inputs-self-contained: $(GOBJECTS)
e71ad29d 515 $(AM_V_at)$(top_builddir)/pre-inst-env "$(GUILE)" \
81f61c17
LC
516 "$(top_srcdir)/build-aux/check-final-inputs-self-contained.scm"
517
89cbec89
LC
518# Compute the Hydra jobs and write them in the target file.
519hydra-jobs.scm: $(GOBJECTS)
520 $(AM_V_at)$(MKDIR_P) "`dirname "$@"`"
521 $(AM_V_GEN)$(top_builddir)/pre-inst-env "$(GUILE)" \
522 "$(top_srcdir)/build-aux/hydra/evaluate.scm" \
523 "$(top_srcdir)/build-aux/hydra/gnu-system.scm" > "$@.tmp"
28dee3d2 524 $(AM_V_at)mv "$@.tmp" "$@"
89cbec89 525
de6af327 526.PHONY: sync-descriptions gen-ChangeLog gen-AUTHORS clean-go make-go
56fbf262 527.PHONY: assert-no-store-file-names assert-binaries-available
81f61c17 528.PHONY: assert-final-inputs-self-contained
8c3d8894
ML
529
530## -------------- ##
531## Silent rules. ##
532## -------------- ##
533
534AM_V_DL = $(AM_V_DL_$(V))
535AM_V_DL_ = $(AM_V_DL_$(AM_DEFAULT_VERBOSITY))
536AM_V_DL_0 = @echo " DL " $@;
4c48878d
ML
537
538AM_V_DOT = $(AM_V_DOT_$(V))
539AM_V_DOT_ = $(AM_V_DOT_$(AM_DEFAULT_VERBOSITY))
540AM_V_DOT_0 = @echo " DOT " $@;
71ed439b
ML
541
542AM_V_EMACS = $(AM_V_EMACS_$(V))
543AM_V_EMACS_ = $(AM_V_EMACS_$(AM_DEFAULT_VERBOSITY))
544AM_V_EMACS_0 = @echo " EMACS " $@;
8dddedf7
ML
545
546AM_V_HELP2MAN = $(AM_V_HELP2MAN_$(V))
547AM_V_HELP2MAN_ = $(AM_V_HELP2MAN_$(AM_DEFAULT_VERBOSITY))
548AM_V_HELP2MAN_0 = @echo " HELP2MAN" $@;