guix-install.sh: Create /etc/profile.d if it does not exist
[jackhill/guix/guix.git] / Makefile.am
index 955e2e8..7474b7f 100644 (file)
@@ -132,6 +132,7 @@ MODULES =                                   \
   guix/build-system/perl.scm                   \
   guix/build-system/python.scm                 \
   guix/build-system/ocaml.scm                  \
+  guix/build-system/qt.scm                     \
   guix/build-system/waf.scm                    \
   guix/build-system/r.scm                      \
   guix/build-system/rakudo.scm                 \
@@ -178,6 +179,7 @@ MODULES =                                   \
   guix/build/perl-build-system.scm             \
   guix/build/python-build-system.scm           \
   guix/build/ocaml-build-system.scm            \
+  guix/build/qt-build-system.scm               \
   guix/build/r-build-system.scm                        \
   guix/build/rakudo-build-system.scm           \
   guix/build/ruby-build-system.scm             \
@@ -221,6 +223,7 @@ MODULES =                                   \
   guix/import/gnu.scm                          \
   guix/import/hackage.scm                      \
   guix/import/json.scm                         \
+  guix/import/kde.scm                          \
   guix/import/launchpad.scm                    \
   guix/import/opam.scm                         \
   guix/import/print.scm                                \
@@ -240,6 +243,7 @@ MODULES =                                   \
   guix/scripts/remove.scm                      \
   guix/scripts/upgrade.scm                     \
   guix/scripts/search.scm                      \
+  guix/scripts/show.scm                                \
   guix/scripts/gc.scm                          \
   guix/scripts/hash.scm                                \
   guix/scripts/pack.scm                                \
@@ -276,6 +280,7 @@ MODULES =                                   \
   guix/scripts/container.scm                   \
   guix/scripts/container/exec.scm              \
   guix/scripts/deploy.scm                      \
+  guix/scripts/time-machine.scm                        \
   guix.scm                                     \
   $(GNU_SYSTEM_MODULES)
 
@@ -305,17 +310,20 @@ STORE_MODULES =                                   \
 MODULES += $(STORE_MODULES)
 
 # Internal modules with test suite support.
-dist_noinst_DATA = guix/tests.scm guix/tests/http.scm
+dist_noinst_DATA =                             \
+  guix/tests.scm                               \
+  guix/tests/http.scm                          \
+  guix/tests/git.scm
 
 # Auxiliary files for packages.
 AUX_FILES =                                            \
   gnu/packages/aux-files/chromium/master-preferences.json              \
   gnu/packages/aux-files/emacs/guix-emacs.el           \
-  gnu/packages/aux-files/linux-libre/5.2-arm.conf      \
-  gnu/packages/aux-files/linux-libre/5.2-arm-veyron.conf       \
-  gnu/packages/aux-files/linux-libre/5.2-arm64.conf    \
-  gnu/packages/aux-files/linux-libre/5.2-i686.conf     \
-  gnu/packages/aux-files/linux-libre/5.2-x86_64.conf   \
+  gnu/packages/aux-files/linux-libre/5.4-arm.conf      \
+  gnu/packages/aux-files/linux-libre/5.4-arm-veyron.conf       \
+  gnu/packages/aux-files/linux-libre/5.4-arm64.conf    \
+  gnu/packages/aux-files/linux-libre/5.4-i686.conf     \
+  gnu/packages/aux-files/linux-libre/5.4-x86_64.conf   \
   gnu/packages/aux-files/linux-libre/4.19-arm.conf     \
   gnu/packages/aux-files/linux-libre/4.19-arm64.conf   \
   gnu/packages/aux-files/linux-libre/4.19-i686.conf    \
@@ -389,6 +397,7 @@ SCM_TESTS =                                 \
   tests/file-systems.scm                       \
   tests/gem.scm                                \
   tests/gexp.scm                               \
+  tests/git.scm                                        \
   tests/glob.scm                               \
   tests/gnu-maintenance.scm                    \
   tests/grafts.scm                             \
@@ -402,6 +411,7 @@ SCM_TESTS =                                 \
   tests/modules.scm                            \
   tests/monads.scm                             \
   tests/nar.scm                                \
+  tests/networking.scm                         \
   tests/opam.scm                               \
   tests/packages.scm                           \
   tests/pack.scm                               \
@@ -526,8 +536,10 @@ EXTRA_DIST +=                                              \
   TODO                                                 \
   CODE-OF-CONDUCT                                      \
   .dir-locals.el                                       \
+  .guix-channel                                                \
   scripts/guix.in                                      \
   etc/guix-install.sh                                  \
+  etc/news.scm                                         \
   build-aux/build-self.scm                             \
   build-aux/compile-all.scm                            \
   build-aux/hydra/evaluate.scm                         \
@@ -541,6 +553,7 @@ EXTRA_DIST +=                                               \
   build-aux/check-final-inputs-self-contained.scm      \
   build-aux/compile-as-derivation.scm                  \
   build-aux/generate-authors.scm                       \
+  build-aux/git-authenticate.scm                       \
   build-aux/test-driver.scm                            \
   build-aux/update-guix-package.scm                    \
   build-aux/update-NEWS.scm                            \
@@ -550,7 +563,7 @@ EXTRA_DIST +=                                               \
   tests/test.drv                                       \
   tests/signing-key.pub                                        \
   tests/signing-key.sec                                        \
-  tests/cve-sample.xml                                 \
+  tests/cve-sample.json                                        \
   build-aux/config.rpath                               \
   bootstrap                                            \
   doc/build.scm                                                \
@@ -603,6 +616,18 @@ $(guix_install_go_files): install-nobase_dist_guilemoduleDATA
 install-data-hook:
        touch "$(DESTDIR)$(guileobjectdir)/guix/config.go"
 
+# Commit corresponding to the 'v1.0.1' tag.
+commit_v1_0_1 = d68de958b60426798ed62797ff7c96c327a672ac
+
+# Authenticate the current Git checkout by checking signatures on every commit
+# starting from $(commit_v1_0_1).
+authenticate:
+       $(AM_V_at)echo "Authenticating Git checkout..." ;       \
+       "$(top_builddir)/pre-inst-env" $(GUILE)                 \
+         --no-auto-compile -e git-authenticate                 \
+         "$(top_srcdir)/build-aux/git-authenticate.scm"        \
+         "$(commit_v1_0_1)"
+
 # Assuming Guix is already installed and the daemon is up and running, this
 # rule builds from $(srcdir), creating and building derivations.
 as-derivation:
@@ -812,9 +837,11 @@ assert-no-store-file-names:
        $(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-manual.pot --exclude=guix-manual.*.po               \
+            --exclude=guix-cookbook.pot --exclude=guix-cookbook.*.po           \
             --exclude=guix-prettify.el                                         \
             --exclude=ChangeLog*                                               \
+            --exclude=binutils-boot-2.20*.patch                                \
             -E "$(storedir)/[a-z0-9]{32}-" $(distdir) ;                        \
        then                                                                    \
          echo "error: store file names embedded in the distribution" >&2 ;     \
@@ -851,7 +878,7 @@ cuirass-jobs.scm: $(GOBJECTS)
 .PHONY: gen-ChangeLog gen-AUTHORS gen-tarball-version
 .PHONY: assert-no-store-file-names assert-binaries-available
 .PHONY: assert-final-inputs-self-contained
-.PHONY: clean-go make-go as-derivation
+.PHONY: clean-go make-go as-derivation authenticate
 .PHONY: update-guix-package update-NEWS release
 
 # Downloading up-to-date PO files.