gnu: Update mit-krb5 to version 1.14.4.
[jackhill/guix/guix.git] / Makefile.am
index 165dfe9..9d62f48 100644 (file)
@@ -41,6 +41,7 @@ MODULES =                                     \
   guix/combinators.scm                         \
   guix/utils.scm                               \
   guix/sets.scm                                        \
+  guix/modules.scm                             \
   guix/download.scm                            \
   guix/git-download.scm                                \
   guix/hg-download.scm                         \
@@ -62,6 +63,7 @@ MODULES =                                     \
   guix/build-system/ant.scm                    \
   guix/build-system/cmake.scm                  \
   guix/build-system/emacs.scm                  \
+  guix/build-system/asdf.scm                   \
   guix/build-system/glib-or-gtk.scm            \
   guix/build-system/gnu.scm                    \
   guix/build-system/haskell.scm                        \
@@ -83,6 +85,7 @@ MODULES =                                     \
   guix/build/download.scm                      \
   guix/build/cmake-build-system.scm            \
   guix/build/emacs-build-system.scm            \
+  guix/build/asdf-build-system.scm             \
   guix/build/git.scm                           \
   guix/build/hg.scm                            \
   guix/build/glib-or-gtk-build-system.scm      \
@@ -105,6 +108,7 @@ MODULES =                                   \
   guix/build/syscalls.scm                       \
   guix/build/gremlin.scm                       \
   guix/build/emacs-utils.scm                   \
+  guix/build/lisp-utils.scm                    \
   guix/build/graft.scm                         \
   guix/build/bournish.scm                      \
   guix/build/qt-utils.scm                      \
@@ -119,6 +123,7 @@ MODULES =                                   \
   guix/import/elpa.scm                         \
   guix/scripts.scm                             \
   guix/scripts/download.scm                    \
+  guix/scripts/perform-download.scm            \
   guix/scripts/build.scm                       \
   guix/scripts/archive.scm                     \
   guix/scripts/import.scm                      \
@@ -167,13 +172,13 @@ MODULES +=                                        \
 
 endif BUILD_DAEMON_OFFLOAD
 
-# Internal module with test suite support.
-dist_noinst_DATA = guix/tests.scm
+# Internal modules with test suite support.
+dist_noinst_DATA = guix/tests.scm guix/tests/http.scm
 
 # Linux-Libre configurations.
 KCONFIGS =                                     \
-  gnu/packages/linux-libre-4.7-i686.conf       \
-  gnu/packages/linux-libre-4.7-x86_64.conf     \
+  gnu/packages/linux-libre-4.8-i686.conf       \
+  gnu/packages/linux-libre-4.8-x86_64.conf     \
   gnu/packages/linux-libre-4.4-i686.conf       \
   gnu/packages/linux-libre-4.4-x86_64.conf     \
   gnu/packages/linux-libre-4.1-i686.conf       \
@@ -185,7 +190,7 @@ EXAMPLES =                                  \
   gnu/system/examples/desktop.tmpl             \
   gnu/system/examples/lightweight-desktop.tmpl
 
-GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go guix/tests.go
+GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go $(dist_noinst_DATA:%.scm=%.go)
 
 nobase_dist_guilemodule_DATA =                  \
   $(MODULES) $(KCONFIGS) $(EXAMPLES)            \
@@ -207,6 +212,12 @@ endif INSTALL_SRFI_37
 # Handy way to remove the .go files without removing all the rest.
 clean-go:
        -$(RM) -f $(GOBJECTS)
+       @find . -name '*.go' -print | \
+         if test -t 1; then \
+           xargs -r echo -e "\033[31mwarning:\033[0m stray .go files:"; \
+         else \
+           xargs -r echo "warning: stray .go files:"; \
+         fi
 
 
 # Test extensions; has to be unconditional.
@@ -222,6 +233,7 @@ SCM_TESTS =                                 \
   tests/pk-crypto.scm                          \
   tests/pki.scm                                        \
   tests/sets.scm                               \
+  tests/modules.scm                            \
   tests/gnu-maintenance.scm                    \
   tests/substitute.scm                         \
   tests/builders.scm                           \
@@ -342,6 +354,9 @@ dist_pkgdata_DATA = hydra.gnu.org.pub
 # Bash completion file.
 dist_bashcompletion_DATA = etc/completion/bash/guix
 
+# Zsh completion file.
+dist_zshcompletion_DATA = etc/completion/zsh/_guix
+
 EXTRA_DIST =                                           \
   HACKING                                              \
   ROADMAP                                              \
@@ -393,7 +408,7 @@ CLEANFILES =                                        \
 # the whole thing.  Likewise, set 'XDG_CACHE_HOME' to avoid loading possibly
 # stale files from ~/.cache/guile/ccache.
 %.go: make-go ; @:
-make-go: $(MODULES) guix/config.scm guix/tests.scm
+make-go: $(MODULES) guix/config.scm $(dist_noinst_DATA)
        $(AM_V_at)echo "Compiling Scheme modules..." ;                  \
        unset GUILE_LOAD_COMPILED_PATH ;                                \
        XDG_CACHE_HOME=/nowhere                                         \
@@ -481,7 +496,10 @@ gen-AUTHORS:
 # Make sure we're not shipping a file that embeds a local /gnu/store file name.
 assert-no-store-file-names:
        $(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info                  \
-            "$(storedir)/[a-z0-9]{32}-" $(distdir) ;                           \
+            --exclude=*.info-[0-9] --exclude=*.dot                             \
+            --exclude=*.eps --exclude-dir=bootstrap                            \
+            --exclude=guix-prettify.el                                         \
+            -E "$(storedir)/[a-z0-9]{32}-" $(distdir) ;                        \
        then                                                                    \
          echo "error: store file names embedded in the distribution" >&2 ;     \
          exit 1 ;                                                              \