gnu: youtube-dl: Update to 2018.07.10.
[jackhill/guix/guix.git] / Makefile.am
index e630797..6733f4f 100644 (file)
@@ -10,6 +10,8 @@
 # Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
 # Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 # Copyright © 2018 Nils Gillmann <ng0@n0.is>
+# Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
+# Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
 #
 # This file is part of GNU Guix.
 #
@@ -26,6 +28,8 @@
 # You should have received a copy of the GNU General Public License
 # along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+
 bin_SCRIPTS = scripts/guix
 
 # Handle substitution of fully-expanded Autoconf variables.
@@ -51,6 +55,7 @@ MODULES_NOT_COMPILED =                                \
   guix/man-db.scm
 
 include gnu/local.mk
+include po/doc/local.mk
 
 MODULES =                                      \
   guix/base16.scm                              \
@@ -80,6 +85,7 @@ MODULES =                                     \
   guix/nar.scm                                 \
   guix/derivations.scm                         \
   guix/grafts.scm                              \
+  guix/inferior.scm                            \
   guix/gnu-maintenance.scm                     \
   guix/self.scm                                        \
   guix/upstream.scm                            \
@@ -92,6 +98,7 @@ MODULES =                                     \
   guix/workers.scm                             \
   guix/zlib.scm                                        \
   guix/build-system.scm                                \
+  guix/build-system/android-ndk.scm            \
   guix/build-system/ant.scm                    \
   guix/build-system/cargo.scm                  \
   guix/build-system/cmake.scm                  \
@@ -124,6 +131,7 @@ MODULES =                                   \
   guix/svn-download.scm                                \
   guix/i18n.scm                                        \
   guix/ui.scm                                  \
+  guix/build/android-ndk-build-system.scm      \
   guix/build/ant-build-system.scm              \
   guix/build/download.scm                      \
   guix/build/download-nar.scm                  \
@@ -193,6 +201,7 @@ MODULES =                                   \
   guix/scripts/substitute.scm                  \
   guix/scripts/authenticate.scm                        \
   guix/scripts/refresh.scm                     \
+  guix/scripts/repl.scm                                \
   guix/scripts/system.scm                      \
   guix/scripts/system/search.scm               \
   guix/scripts/lint.scm                                \
@@ -224,11 +233,13 @@ MODULES +=                                        \
   guix/import/github.scm                       \
   guix/import/gnome.scm                                \
   guix/import/json.scm                         \
+  guix/import/opam.scm                         \
   guix/import/pypi.scm                         \
   guix/import/stackage.scm                     \
   guix/scripts/import/crate.scm                        \
   guix/scripts/import/gem.scm                  \
   guix/scripts/import/json.scm                 \
+  guix/scripts/import/opam.scm                 \
   guix/scripts/import/pypi.scm                 \
   guix/scripts/import/stackage.scm             \
   guix/scripts/weather.scm
@@ -251,15 +262,23 @@ MODULES +=                                        \
 
 endif BUILD_DAEMON_OFFLOAD
 
+# Scheme implementation of the build daemon and related functionality.
+STORE_MODULES =                                        \
+  guix/store/database.scm                      \
+  guix/store/deduplication.scm
+
+MODULES += $(STORE_MODULES)
+
 # Internal modules with test suite support.
 dist_noinst_DATA = guix/tests.scm guix/tests/http.scm
 
 # Auxiliary files for packages.
 AUX_FILES =                                            \
   gnu/packages/aux-files/emacs/guix-emacs.el           \
-  gnu/packages/aux-files/linux-libre/4.15-arm.conf     \
-  gnu/packages/aux-files/linux-libre/4.15-i686.conf    \
-  gnu/packages/aux-files/linux-libre/4.15-x86_64.conf  \
+  gnu/packages/aux-files/linux-libre/4.17-arm.conf     \
+  gnu/packages/aux-files/linux-libre/4.17-arm64.conf   \
+  gnu/packages/aux-files/linux-libre/4.17-i686.conf    \
+  gnu/packages/aux-files/linux-libre/4.17-x86_64.conf  \
   gnu/packages/aux-files/linux-libre/4.14-arm.conf     \
   gnu/packages/aux-files/linux-libre/4.14-i686.conf    \
   gnu/packages/aux-files/linux-libre/4.14-x86_64.conf  \
@@ -267,8 +286,7 @@ AUX_FILES =                                         \
   gnu/packages/aux-files/linux-libre/4.9-x86_64.conf   \
   gnu/packages/aux-files/linux-libre/4.4-i686.conf     \
   gnu/packages/aux-files/linux-libre/4.4-x86_64.conf   \
-  gnu/packages/aux-files/linux-libre/4.1-i686.conf     \
-  gnu/packages/aux-files/linux-libre/4.1-x86_64.conf
+  gnu/packages/aux-files/run-in-namespace.c
 
 # Templates, examples.
 EXAMPLES =                                     \
@@ -281,6 +299,7 @@ EXAMPLES =                                  \
 GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go $(dist_noinst_DATA:%.scm=%.go)
 
 nobase_dist_guilemodule_DATA =                                 \
+  guix/store/schema.sql                                                \
   $(MODULES) $(MODULES_NOT_COMPILED) $(AUX_FILES) $(EXAMPLES)  \
   $(MISC_DISTRO_FILES)
 nobase_nodist_guilemodule_DATA = guix/config.scm
@@ -340,6 +359,7 @@ SCM_TESTS =                                 \
   tests/profiles.scm                           \
   tests/search-paths.scm                       \
   tests/syscalls.scm                           \
+  tests/inferior.scm                           \
   tests/gremlin.scm                            \
   tests/bournish.scm                           \
   tests/lint.scm                               \
@@ -359,12 +379,15 @@ SCM_TESTS =                                       \
   tests/scripts-build.scm                      \
   tests/containers.scm                         \
   tests/pack.scm                               \
-  tests/import-utils.scm
+  tests/import-utils.scm                       \
+  tests/store-database.scm                     \
+  tests/store-deduplication.scm
 
 if HAVE_GUILE_JSON
 
 SCM_TESTS +=                                   \
   tests/pypi.scm                               \
+  tests/opam.scm                               \
   tests/cpan.scm                               \
   tests/gem.scm                                        \
   tests/crate.scm
@@ -387,13 +410,6 @@ SH_TESTS =                                 \
   tests/guix-graph.sh                          \
   tests/guix-lint.sh
 
-if BUILD_DAEMON
-
-SH_TESTS += tests/guix-register.sh
-
-endif BUILD_DAEMON
-
-
 TESTS = $(SCM_TESTS) $(SH_TESTS)
 
 AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0
@@ -443,7 +459,8 @@ dist_pkgdata_DATA =                         \
   berlin.guixsd.org.pub
 
 # Bash completion file.
-dist_bashcompletion_DATA = etc/completion/bash/guix
+dist_bashcompletion_DATA = etc/completion/bash/guix    \
+  etc/completion/bash/guix-daemon
 
 # Zsh completion file.
 dist_zshcompletion_DATA = etc/completion/zsh/_guix
@@ -454,7 +471,7 @@ dist_fishcompletion_DATA = etc/completion/fish/guix.fish
 # SELinux policy
 dist_selinux_policy_DATA = etc/guix-daemon.cil
 
-EXTRA_DIST                                           \
+EXTRA_DIST +=                                          \
   HACKING                                              \
   ROADMAP                                              \
   TODO                                                 \
@@ -469,6 +486,7 @@ EXTRA_DIST =                                                \
   build-aux/hydra/guix.scm                             \
   build-aux/hydra/guix-modular.scm                     \
   build-aux/cuirass/gnu-system.scm                     \
+  build-aux/cuirass/guix-modular.scm                   \
   build-aux/cuirass/hydra-to-cuirass.scm               \
   build-aux/check-available-binaries.scm               \
   build-aux/check-final-inputs-self-contained.scm      \
@@ -480,8 +498,6 @@ EXTRA_DIST =                                                \
   build-aux/run-system-tests.scm                       \
   d3.v3.js                                             \
   graph.js                                             \
-  srfi/srfi-64.scm                                     \
-  srfi/srfi-64.upstream.scm                            \
   tests/test.drv                                       \
   tests/signing-key.pub                                        \
   tests/signing-key.sec                                        \
@@ -735,6 +751,7 @@ assert-no-store-file-names: $(distdir)/ChangeLog
        $(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info                  \
             --exclude=*.info-[0-9] --exclude=*.dot                             \
             --exclude=*.eps --exclude-dir=bootstrap                            \
+                --exclude=guix-manual.pot --exclude=guix-manual.*.po           \
             --exclude=guix-prettify.el                                         \
             --exclude=ChangeLog                                                \
             -E "$(storedir)/[a-z0-9]{32}-" $(distdir) ;                        \
@@ -791,3 +808,11 @@ AM_V_DOT_0 = @echo "  DOT     " $@;
 AM_V_HELP2MAN = $(AM_V_HELP2MAN_$(V))
 AM_V_HELP2MAN_ = $(AM_V_HELP2MAN_$(AM_DEFAULT_VERBOSITY))
 AM_V_HELP2MAN_0 = @echo "  HELP2MAN" $@;
+
+AM_V_PO4A = $(AM_V_PO4A_$(V))
+AM_V_PO4A_ = $(AM_V_PO4A_$(AM_DEFAULT_VERBOSITY))
+AM_V_PO4A_0 = @echo "  PO4A" $@;
+
+AM_V_POXREF = $(AM_V_POXREF_$(V))
+AM_V_POXREF_ = $(AM_V_POXREF_$(AM_DEFAULT_VERBOSITY))
+AM_V_POXREF_0 = @echo "  POXREF" $@;