X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/f14d6b697e31b04e5657f27388b777ccee3aa5cb..3a33730a86fb37c672f90418697eeb259318682d:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 722b3b79fe..b55a780fe5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,9 +30,14 @@ MODULES = \ guix/scripts/import.scm \ guix/scripts/package.scm \ guix/scripts/gc.scm \ + guix/scripts/hash.scm \ guix/scripts/pull.scm \ + guix/scripts/substitute-binary.scm \ + guix/scripts/refresh.scm \ guix/base32.scm \ guix/utils.scm \ + guix/serialization.scm \ + guix/nar.scm \ guix/derivations.scm \ guix/download.scm \ guix/gnu-maintenance.scm \ @@ -41,16 +46,21 @@ MODULES = \ guix/build-system/cmake.scm \ guix/build-system/gnu.scm \ guix/build-system/perl.scm \ + guix/build-system/python.scm \ guix/build-system/trivial.scm \ guix/ftp-client.scm \ + guix/web.scm \ + guix/gnupg.scm \ guix/store.scm \ guix/ui.scm \ guix/build/download.scm \ guix/build/cmake-build-system.scm \ guix/build/gnu-build-system.scm \ guix/build/perl-build-system.scm \ + guix/build/python-build-system.scm \ guix/build/utils.scm \ guix/build/union.scm \ + guix/build/rpath.scm \ guix/packages.scm \ guix/snix.scm \ guix.scm \ @@ -63,6 +73,7 @@ MODULES = \ gnu/packages/avahi.scm \ gnu/packages/base.scm \ gnu/packages/bash.scm \ + gnu/packages/bazaar.scm \ gnu/packages/bdb.scm \ gnu/packages/bdw-gc.scm \ gnu/packages/bison.scm \ @@ -75,6 +86,7 @@ MODULES = \ gnu/packages/cpio.scm \ gnu/packages/cppi.scm \ gnu/packages/cross-base.scm \ + gnu/packages/cryptsetup.scm \ gnu/packages/curl.scm \ gnu/packages/cyrus-sasl.scm \ gnu/packages/dejagnu.scm \ @@ -86,6 +98,7 @@ MODULES = \ gnu/packages/file.scm \ gnu/packages/flex.scm \ gnu/packages/fontutils.scm \ + gnu/packages/freeipmi.scm \ gnu/packages/gawk.scm \ gnu/packages/gcc.scm \ gnu/packages/gdb.scm \ @@ -101,8 +114,11 @@ MODULES = \ gnu/packages/groff.scm \ gnu/packages/grub.scm \ gnu/packages/gsasl.scm \ + gnu/packages/gtk.scm \ gnu/packages/guile.scm \ + gnu/packages/gv.scm \ gnu/packages/help2man.scm \ + gnu/packages/hugs.scm \ gnu/packages/icu4c.scm \ gnu/packages/idutils.scm \ gnu/packages/indent.scm \ @@ -129,6 +145,7 @@ MODULES = \ gnu/packages/lsh.scm \ gnu/packages/lsof.scm \ gnu/packages/lua.scm \ + gnu/packages/lvm.scm \ gnu/packages/m4.scm \ gnu/packages/mailutils.scm \ gnu/packages/make-bootstrap.scm \ @@ -154,6 +171,7 @@ MODULES = \ gnu/packages/pth.scm \ gnu/packages/python.scm \ gnu/packages/qemu.scm \ + gnu/packages/ratpoison.scm \ gnu/packages/readline.scm \ gnu/packages/recutils.scm \ gnu/packages/rsync.scm \ @@ -231,10 +249,11 @@ dist_patch_DATA = \ gnu/packages/patches/make-impure-dirs.patch \ gnu/packages/patches/mcron-install.patch \ gnu/packages/patches/perl-no-sys-dirs.patch \ + gnu/packages/patches/python-fix-dbm.patch \ gnu/packages/patches/procps-make-3.82.patch \ gnu/packages/patches/qemu-multiple-smb-shares.patch \ gnu/packages/patches/readline-link-ncurses.patch \ - gnu/packages/patches/shishi-gets-undeclared.patch \ + gnu/packages/patches/scheme48-tests.patch \ gnu/packages/patches/tar-gets-undeclared.patch \ gnu/packages/patches/tcsh-fix-autotest.patch \ gnu/packages/patches/teckit-cstdio.patch \ @@ -289,7 +308,7 @@ gnu/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz: nobase_nodist_guilemodule_DATA = $(GOBJECTS) guix/config.scm -TESTS = \ +SCM_TESTS = \ tests/base32.scm \ tests/builders.scm \ tests/derivations.scm \ @@ -299,12 +318,18 @@ TESTS = \ tests/packages.scm \ tests/snix.scm \ tests/store.scm \ - tests/union.scm \ + tests/nar.scm \ + tests/union.scm + +SH_TESTS = \ tests/guix-build.sh \ tests/guix-download.sh \ tests/guix-gc.sh \ + tests/guix-hash.sh \ tests/guix-package.sh +TESTS = $(SCM_TESTS) $(SH_TESTS) + TEST_EXTENSIONS = .scm .sh AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" @@ -315,6 +340,14 @@ AM_SCM_LOG_FLAGS = --no-auto-compile -L "$(top_srcdir)" SH_LOG_COMPILER = $(top_builddir)/test-env $(SHELL) AM_SH_LOG_FLAGS = -x -e +# Make sure `tests/guix-gc.sh' runs last, after all the others. Otherwise it +# could end up removing files from the store while they are being used by +# other instances of the daemon. +tests/guix-gc.log: \ + $(patsubst %.sh,%.log,$(filter-out tests/guix-gc.sh,$(SH_TESTS))) \ + $(SCM_TESTS:%.scm=%.log) + + EXTRA_DIST = \ HACKING \ ROADMAP \ @@ -322,6 +355,7 @@ EXTRA_DIST = \ .dir-locals.el \ hydra.scm \ build-aux/download.scm \ + build-aux/sync-synopses.scm \ srfi/srfi-64.scm \ srfi/srfi-64.upstream.scm \ tests/test.drv \ @@ -330,12 +364,18 @@ EXTRA_DIST = \ release.nix \ $(TESTS) -CLEANFILES = $(GOBJECTS) *.log +CLEANFILES = \ + $(GOBJECTS) \ + $(SCM_TESTS:%.scm=%.log) + +AM_V_GUILEC = $(AM_V_GUILEC_$(V)) +AM_V_GUILEC_ = $(AM_V_GUILEC_$(AM_DEFAULT_VERBOSITY)) +AM_V_GUILEC_0 = @echo " GUILEC" $@; # XXX: Use the C locale for when Guile lacks # . .scm.go: - $(MKDIR_P) `dirname "$@"` + $(AM_V_GUILEC)$(MKDIR_P) `dirname "$@"` ; \ LC_ALL=C \ $(top_builddir)/pre-inst-env \ $(GUILD) compile -L "$(top_builddir)" -L "$(top_srcdir)" \ @@ -369,3 +409,7 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \ --with-libgcrypt-prefix="$(LIBGCRYPT_PREFIX)" \ --with-nix-prefix="$(NIX_PREFIX)" \ --enable-daemon + +dist-hook: + -$(top_builddir)/pre-inst-env $(GUILE) \ + $(top_srcdir)/build-aux/sync-synopses.scm