Commit | Line | Data |
---|---|---|
233e7676 | 1 | # GNU Guix --- Functional package management for GNU |
04f247be | 2 | # Copyright © 2012-2023 Ludovic Courtès <ludo@gnu.org> |
f2499672 | 3 | # Copyright © 2013 Andreas Enge <andreas@enge.fr> |
7994250f | 4 | # Copyright © 2015, 2017 Alex Kost <alezost@gmail.com> |
cba386c1 | 5 | # Copyright © 2016, 2018 Mathieu Lirzin <mthl@gnu.org> |
274fa491 | 6 | # Copyright © 2016, 2017, 2018, 2019 Mark H Weaver <mhw@netris.org> |
960887b2 | 7 | # Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> |
a6c642ef | 8 | # Copyright © 2017 Leo Famulari <leo@famulari.name> |
205794c8 | 9 | # Copyright © 2017 Ricardo Wurmus <rekado@elephly.net> |
59bcffa3 | 10 | # Copyright © 2017, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> |
3d0aa7f7 | 11 | # Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net> |
3c986a7d | 12 | # Copyright © 2018 Nikita <nikita@n0.is> |
b9fe8fd6 | 13 | # Copyright © 2018 Julien Lepiller <julien@lepiller.eu> |
bba0fa24 | 14 | # Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com> |
53f316ab | 15 | # Copyright © 2018 Alex Vong <alexvong1995@gmail.com> |
4e4c3114 | 16 | # Copyright © 2019 Efraim Flashner <efraim@flashner.co.il> |
a16eb6c5 | 17 | # Copyright © 2021 Chris Marusich <cmmarusich@gmail.com> |
89e05a69 | 18 | # Copyright © 2021 Andrew Tropin <andrew@trop.in> |
af51c820 | 19 | # |
233e7676 | 20 | # This file is part of GNU Guix. |
af51c820 | 21 | # |
233e7676 | 22 | # GNU Guix is free software; you can redistribute it and/or modify it |
af51c820 LC |
23 | # under the terms of the GNU General Public License as published by |
24 | # the Free Software Foundation; either version 3 of the License, or (at | |
25 | # your option) any later version. | |
26 | # | |
233e7676 | 27 | # GNU Guix is distributed in the hope that it will be useful, but |
af51c820 LC |
28 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
29 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
30 | # GNU General Public License for more details. | |
31 | # | |
32 | # You should have received a copy of the GNU General Public License | |
233e7676 | 33 | # along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
af51c820 | 34 | |
b9fe8fd6 JL |
35 | MSGMERGE_UPDATE = @MSGMERGE@ --update |
36 | ||
cba386c1 ML |
37 | bin_SCRIPTS = scripts/guix |
38 | ||
39 | # Handle substitution of fully-expanded Autoconf variables. | |
40 | do_subst = $(SED) \ | |
41 | -e 's,[@]GUILE[@],$(GUILE),g' \ | |
42 | -e 's,[@]guilemoduledir[@],$(guilemoduledir),g' \ | |
43 | -e 's,[@]guileobjectdir[@],$(guileobjectdir),g' \ | |
fd247542 | 44 | -e 's,[@]abs_top_builddir[@],$(abs_top_builddir),g' \ |
cba386c1 ML |
45 | -e 's,[@]localedir[@],$(localedir),g' |
46 | ||
47 | scripts/guix: scripts/guix.in Makefile | |
48 | $(AM_V_at)rm -f $@ $@-t | |
49 | $(AM_V_at)$(MKDIR_P) "$(@D)" | |
50 | $(AM_V_GEN)$(do_subst) < "$(srcdir)/$@.in" > "$@-t" | |
51 | $(AM_V_at)chmod a+x,a-w "$@-t" && mv -f "$@-t" "$@" | |
14a1c319 | 52 | |
880fe019 LC |
53 | # This is our variant of the 'guile' executable, one that doesn't complain |
54 | # about locales. | |
55 | pkglibexec_PROGRAMS = guile | |
56 | guile_SOURCES = gnu/packages/aux-files/guile-launcher.c | |
57 | guile_LDADD = $(GUILE_LIBS) | |
58 | guile_CFLAGS = $(GUILE_CFLAGS) | |
59 | ||
60 | # Have the 'guix' command refer to our 'guile'. | |
61 | install-exec-hook: | |
62 | $(SED) -i "$(DESTDIR)$(bindir)/guix" \ | |
63 | -e 's,^#![[:graph:]]\+,#!$(pkglibexecdir)/guile,g' | |
64 | ||
58867ae7 MW |
65 | nodist_noinst_SCRIPTS = \ |
66 | pre-inst-env \ | |
67 | test-env | |
68 | ||
4aabc8ea LC |
69 | # Modules that are not compiled but are installed nonetheless, such as |
70 | # build-side modules with unusual dependencies. | |
b8396f96 | 71 | MODULES_NOT_COMPILED = \ |
554b30d2 | 72 | guix/build/po.scm \ |
b8396f96 | 73 | guix/man-db.scm |
4aabc8ea | 74 | |
03d0e2d2 | 75 | include gnu/local.mk |
b9fe8fd6 | 76 | include po/doc/local.mk |
d516736c | 77 | |
af51c820 | 78 | MODULES = \ |
4c0c4db0 | 79 | guix/base16.scm \ |
ddc29a78 | 80 | guix/base32.scm \ |
e9c6c584 | 81 | guix/base64.scm \ |
6776af04 | 82 | guix/ci.scm \ |
7a18c3cc | 83 | guix/cpio.scm \ |
a644f88d | 84 | guix/cpu.scm \ |
787da810 | 85 | guix/deprecation.scm \ |
6776af04 | 86 | guix/docker.scm \ |
c0cd1b3e | 87 | guix/records.scm \ |
43408e30 | 88 | guix/openpgp.scm \ |
8b420f74 | 89 | guix/pki.scm \ |
8c348825 | 90 | guix/progress.scm \ |
958dd3ce | 91 | guix/combinators.scm \ |
f9704f17 | 92 | guix/memoization.scm \ |
73fbb904 | 93 | guix/utils.scm \ |
d326767e | 94 | guix/sets.scm \ |
7ca87354 | 95 | guix/modules.scm \ |
de1355f1 | 96 | guix/download.scm \ |
cd903ef7 | 97 | guix/discovery.scm \ |
3feb8464 | 98 | guix/android-repo-download.scm \ |
4ac69ea1 | 99 | guix/bzr-download.scm \ |
9b5b5c17 | 100 | guix/git-download.scm \ |
c4e48b68 | 101 | guix/hg-download.scm \ |
064c3677 | 102 | guix/hash.scm \ |
de2bfe90 | 103 | guix/swh.scm \ |
b860f382 | 104 | guix/monads.scm \ |
b9b86078 | 105 | guix/monad-repl.scm \ |
21b679f6 | 106 | guix/gexp.scm \ |
cc4ecc2d | 107 | guix/profiles.scm \ |
0f41c26f LC |
108 | guix/serialization.scm \ |
109 | guix/nar.scm \ | |
681af174 | 110 | guix/narinfo.scm \ |
af51c820 | 111 | guix/derivations.scm \ |
7adf9b84 | 112 | guix/grafts.scm \ |
92a4087b | 113 | guix/repl.scm \ |
598f4c50 | 114 | guix/rpm.scm \ |
f68b3ba1 | 115 | guix/transformations.scm \ |
2ca299ca | 116 | guix/inferior.scm \ |
fe634eaf | 117 | guix/describe.scm \ |
20507347 | 118 | guix/quirks.scm \ |
0d39a3b9 | 119 | guix/channels.scm \ |
22189ed1 | 120 | guix/gnu-maintenance.scm \ |
eaae07ec | 121 | guix/self.scm \ |
112692c0 | 122 | guix/substitutes.scm \ |
0a7c5a09 | 123 | guix/upstream.scm \ |
838d78e3 | 124 | guix/licenses.scm \ |
f363c836 | 125 | guix/lint.scm \ |
f14c933d | 126 | guix/glob.scm \ |
7441f1db | 127 | guix/git.scm \ |
41f443c9 | 128 | guix/git-authenticate.scm \ |
8fb58371 | 129 | guix/graph.scm \ |
2ea2aac6 | 130 | guix/cache.scm \ |
0eef7551 | 131 | guix/cve.scm \ |
1563d6c7 | 132 | guix/workers.scm \ |
3682bd40 | 133 | guix/least-authority.scm \ |
5817e222 | 134 | guix/read-print.scm \ |
b18f45c2 | 135 | guix/ipfs.scm \ |
dab819d5 JP |
136 | guix/platform.scm \ |
137 | guix/platforms/arm.scm \ | |
dab819d5 JP |
138 | guix/platforms/mips.scm \ |
139 | guix/platforms/powerpc.scm \ | |
140 | guix/platforms/riscv.scm \ | |
dab819d5 | 141 | guix/platforms/x86.scm \ |
208f7cd1 | 142 | guix/build-system.scm \ |
436515cd | 143 | guix/build-system/android-ndk.scm \ |
5f7a1a4d | 144 | guix/build-system/ant.scm \ |
4b3cb7f4 | 145 | guix/build-system/cargo.scm \ |
5bce4c82 | 146 | guix/build-system/channel.scm \ |
64f032d7 | 147 | guix/build-system/chicken.scm \ |
1e5b79e5 | 148 | guix/build-system/clojure.scm \ |
c6bded8a | 149 | guix/build-system/cmake.scm \ |
65e862d1 | 150 | guix/build-system/dub.scm \ |
6e8986c8 | 151 | guix/build-system/dune.scm \ |
aefcfdd0 | 152 | guix/build-system/elm.scm \ |
e9137a53 | 153 | guix/build-system/emacs.scm \ |
3d90fa98 | 154 | guix/build-system/font.scm \ |
91525b48 | 155 | guix/build-system/go.scm \ |
07c101e2 | 156 | guix/build-system/meson.scm \ |
88c8f247 | 157 | guix/build-system/minify.scm \ |
3df48515 | 158 | guix/build-system/minetest.scm \ |
a1b30f99 | 159 | guix/build-system/asdf.scm \ |
e90e6404 | 160 | guix/build-system/copy.scm \ |
be3425e5 | 161 | guix/build-system/glib-or-gtk.scm \ |
208f7cd1 | 162 | guix/build-system/gnu.scm \ |
2a3b1b32 | 163 | guix/build-system/guile.scm \ |
ce6fc7d6 | 164 | guix/build-system/haskell.scm \ |
a44a535e | 165 | guix/build-system/julia.scm \ |
ce631299 | 166 | guix/build-system/linux-module.scm \ |
55b90c90 | 167 | guix/build-system/maven.scm \ |
09a1f92f | 168 | guix/build-system/node.scm \ |
08fd1ebe | 169 | guix/build-system/perl.scm \ |
400a7a4c | 170 | guix/build-system/pyproject.scm \ |
40506d5d | 171 | guix/build-system/python.scm \ |
e1bdab4f | 172 | guix/build-system/renpy.scm \ |
e6876cb9 | 173 | guix/build-system/ocaml.scm \ |
b6d852ce | 174 | guix/build-system/qt.scm \ |
a677c726 | 175 | guix/build-system/waf.scm \ |
f8f3bef6 | 176 | guix/build-system/r.scm \ |
4e4c3114 | 177 | guix/build-system/rakudo.scm \ |
97586ca1 | 178 | guix/build-system/rebar.scm \ |
c08f9818 | 179 | guix/build-system/ruby.scm \ |
3d0aa7f7 | 180 | guix/build-system/scons.scm \ |
205794c8 | 181 | guix/build-system/texlive.scm \ |
dbd4d2d0 | 182 | guix/build-system/tree-sitter.scm \ |
be13fbfa | 183 | guix/build-system/trivial.scm \ |
457dd86d | 184 | guix/ftp-client.scm \ |
3b8258c5 | 185 | guix/http-client.scm \ |
0fdd3bea | 186 | guix/gnupg.scm \ |
d5d16686 | 187 | guix/elf.scm \ |
03870da8 | 188 | guix/profiling.scm \ |
af51c820 | 189 | guix/store.scm \ |
89328d24 | 190 | guix/cvs-download.scm \ |
b3acf365 | 191 | guix/svn-download.scm \ |
5d9f9ad6 | 192 | guix/colors.scm \ |
37eed374 | 193 | guix/i18n.scm \ |
1b5ee3bd | 194 | guix/diagnostics.scm \ |
073c34d7 | 195 | guix/ui.scm \ |
dc0f74e5 | 196 | guix/status.scm \ |
436515cd | 197 | guix/build/android-ndk-build-system.scm \ |
5f7a1a4d | 198 | guix/build/ant-build-system.scm \ |
62cab99c | 199 | guix/build/download.scm \ |
37ce440d | 200 | guix/build/download-nar.scm \ |
4b3cb7f4 | 201 | guix/build/cargo-build-system.scm \ |
7d141788 | 202 | guix/build/cargo-utils.scm \ |
64f032d7 | 203 | guix/build/chicken-build-system.scm \ |
c6bded8a | 204 | guix/build/cmake-build-system.scm \ |
65e862d1 | 205 | guix/build/dub-build-system.scm \ |
6e8986c8 | 206 | guix/build/dune-build-system.scm \ |
aefcfdd0 | 207 | guix/build/elm-build-system.scm \ |
e9137a53 | 208 | guix/build/emacs-build-system.scm \ |
07c101e2 | 209 | guix/build/meson-build-system.scm \ |
88c8f247 | 210 | guix/build/minify-build-system.scm \ |
3d90fa98 | 211 | guix/build/font-build-system.scm \ |
91525b48 | 212 | guix/build/go-build-system.scm \ |
3feb8464 | 213 | guix/build/android-repo.scm \ |
a1b30f99 | 214 | guix/build/asdf-build-system.scm \ |
4ac69ea1 | 215 | guix/build/bzr.scm \ |
e90e6404 | 216 | guix/build/copy-build-system.scm \ |
9b5b5c17 | 217 | guix/build/git.scm \ |
c4e48b68 | 218 | guix/build/hg.scm \ |
be3425e5 | 219 | guix/build/glib-or-gtk-build-system.scm \ |
9c9407f7 | 220 | guix/build/gnu-bootstrap.scm \ |
af51c820 | 221 | guix/build/gnu-build-system.scm \ |
fe12c345 | 222 | guix/build/gnu-dist.scm \ |
2a3b1b32 | 223 | guix/build/guile-build-system.scm \ |
55b90c90 | 224 | guix/build/maven-build-system.scm \ |
3df48515 | 225 | guix/build/minetest-build-system.scm \ |
09a1f92f | 226 | guix/build/node-build-system.scm \ |
08fd1ebe | 227 | guix/build/perl-build-system.scm \ |
400a7a4c | 228 | guix/build/pyproject-build-system.scm \ |
40506d5d | 229 | guix/build/python-build-system.scm \ |
e6876cb9 | 230 | guix/build/ocaml-build-system.scm \ |
b6d852ce | 231 | guix/build/qt-build-system.scm \ |
f8f3bef6 | 232 | guix/build/r-build-system.scm \ |
e1bdab4f | 233 | guix/build/renpy-build-system.scm \ |
4e4c3114 | 234 | guix/build/rakudo-build-system.scm \ |
97586ca1 | 235 | guix/build/rebar-build-system.scm \ |
c08f9818 | 236 | guix/build/ruby-build-system.scm \ |
3d0aa7f7 | 237 | guix/build/scons-build-system.scm \ |
205794c8 | 238 | guix/build/texlive-build-system.scm \ |
dbd4d2d0 | 239 | guix/build/tree-sitter-build-system.scm \ |
a677c726 | 240 | guix/build/waf-build-system.scm \ |
9fd6c2ba | 241 | guix/build/haskell-build-system.scm \ |
a44a535e | 242 | guix/build/julia-build-system.scm \ |
a3f638e7 | 243 | guix/build/kconfig.scm \ |
ce631299 | 244 | guix/build/linux-module-build-system.scm \ |
6fd1a796 | 245 | guix/build/store-copy.scm \ |
a4bb1892 | 246 | guix/build/json.scm \ |
7708c0b5 | 247 | guix/build/pack.scm \ |
1273d44a | 248 | guix/build/utils.scm \ |
c8c88afa | 249 | guix/build/union.scm \ |
611adb1e | 250 | guix/build/profiles.scm \ |
2890ad33 | 251 | guix/build/compile.scm \ |
89328d24 | 252 | guix/build/cvs.scm \ |
b3acf365 | 253 | guix/build/svn.scm \ |
875715ca | 254 | guix/build/syscalls.scm \ |
15aa2c38 | 255 | guix/build/gremlin.scm \ |
93c33389 | 256 | guix/build/debug-link.scm \ |
1e5b79e5 | 257 | guix/build/clojure-build-system.scm \ |
53f316ab | 258 | guix/build/clojure-utils.scm \ |
75f3b1a1 | 259 | guix/build/emacs-utils.scm \ |
59135f0d | 260 | guix/build/java-utils.scm \ |
a1b30f99 | 261 | guix/build/lisp-utils.scm \ |
84565813 | 262 | guix/build/meson-configuration.scm \ |
3d3bc413 JL |
263 | guix/build/maven/java.scm \ |
264 | guix/build/maven/plugin.scm \ | |
265 | guix/build/maven/pom.scm \ | |
fb59e275 | 266 | guix/build/graft.scm \ |
f2e4805b | 267 | guix/build/bournish.scm \ |
2098d024 | 268 | guix/build/qt-utils.scm \ |
f13f60cb | 269 | guix/build/make-bootstrap.scm \ |
e89431bf | 270 | guix/search-paths.scm \ |
e3ce5d70 | 271 | guix/packages.scm \ |
a4154748 | 272 | guix/import/cabal.scm \ |
6776af04 | 273 | guix/import/cpan.scm \ |
e1248602 | 274 | guix/import/cran.scm \ |
6776af04 | 275 | guix/import/crate.scm \ |
bdc298ec | 276 | guix/import/egg.scm \ |
903c8258 | 277 | guix/import/elm.scm \ |
7f74a931 | 278 | guix/import/elpa.scm \ |
6776af04 | 279 | guix/import/gem.scm \ |
59ee1075 | 280 | guix/import/git.scm \ |
6776af04 EB |
281 | guix/import/github.scm \ |
282 | guix/import/gnome.scm \ | |
283 | guix/import/gnu.scm \ | |
02e2e093 | 284 | guix/import/go.scm \ |
6776af04 | 285 | guix/import/hackage.scm \ |
0d9f1f15 | 286 | guix/import/hexpm.scm \ |
6776af04 | 287 | guix/import/json.scm \ |
d1dce0c3 | 288 | guix/import/kde.scm \ |
ae031d45 | 289 | guix/import/launchpad.scm \ |
467e874a | 290 | guix/import/minetest.scm \ |
6776af04 EB |
291 | guix/import/opam.scm \ |
292 | guix/import/print.scm \ | |
293 | guix/import/pypi.scm \ | |
6776af04 | 294 | guix/import/stackage.scm \ |
04f247be | 295 | guix/import/test.scm \ |
afbc9419 | 296 | guix/import/texlive.scm \ |
6776af04 | 297 | guix/import/utils.scm \ |
88981dd3 | 298 | guix/scripts.scm \ |
de1355f1 | 299 | guix/scripts/download.scm \ |
94d92c77 | 300 | guix/scripts/perform-download.scm \ |
de1355f1 | 301 | guix/scripts/build.scm \ |
760c60d6 | 302 | guix/scripts/archive.scm \ |
de1355f1 LC |
303 | guix/scripts/import.scm \ |
304 | guix/scripts/package.scm \ | |
d824cfba LC |
305 | guix/scripts/install.scm \ |
306 | guix/scripts/remove.scm \ | |
307 | guix/scripts/upgrade.scm \ | |
da56f109 | 308 | guix/scripts/search.scm \ |
aeb51370 | 309 | guix/scripts/show.scm \ |
de1355f1 LC |
310 | guix/scripts/gc.scm \ |
311 | guix/scripts/hash.scm \ | |
239c2266 | 312 | guix/scripts/pack.scm \ |
de1355f1 | 313 | guix/scripts/pull.scm \ |
63eb2b89 | 314 | guix/scripts/processes.scm \ |
2c74fde0 | 315 | guix/scripts/substitute.scm \ |
526382ff | 316 | guix/scripts/authenticate.scm \ |
de1355f1 | 317 | guix/scripts/refresh.scm \ |
2ca299ca | 318 | guix/scripts/repl.scm \ |
bd747018 | 319 | guix/scripts/describe.scm \ |
f23803af | 320 | guix/scripts/style.scm \ |
523e4896 | 321 | guix/scripts/system.scm \ |
3f83c0b7 | 322 | guix/scripts/system/edit.scm \ |
5c793753 | 323 | guix/scripts/system/reconfigure.scm \ |
3f83c0b7 | 324 | guix/scripts/system/search.scm \ |
89e05a69 | 325 | guix/scripts/home.scm \ |
35c1edb2 | 326 | guix/scripts/home/edit.scm \ |
879abff4 | 327 | guix/scripts/home/import.scm \ |
b4f5e0e8 | 328 | guix/scripts/lint.scm \ |
d23c20f1 | 329 | guix/scripts/challenge.scm \ |
6776af04 | 330 | guix/scripts/import/crate.scm \ |
e1248602 | 331 | guix/scripts/import/cran.scm \ |
bdc298ec | 332 | guix/scripts/import/egg.scm \ |
903c8258 | 333 | guix/scripts/import/elm.scm \ |
6776af04 EB |
334 | guix/scripts/import/elpa.scm \ |
335 | guix/scripts/import/gem.scm \ | |
7047133f | 336 | guix/scripts/import/gnu.scm \ |
02e2e093 | 337 | guix/scripts/import/go.scm \ |
a4154748 | 338 | guix/scripts/import/hackage.scm \ |
0d9f1f15 | 339 | guix/scripts/import/hexpm.scm \ |
6776af04 | 340 | guix/scripts/import/json.scm \ |
467e874a | 341 | guix/scripts/import/minetest.scm \ |
6776af04 EB |
342 | guix/scripts/import/opam.scm \ |
343 | guix/scripts/import/pypi.scm \ | |
344 | guix/scripts/import/stackage.scm \ | |
afbc9419 | 345 | guix/scripts/import/texlive.scm \ |
372c4bbc | 346 | guix/scripts/environment.scm \ |
80edb7df | 347 | guix/scripts/shell.scm \ |
aff8ce7c | 348 | guix/scripts/publish.scm \ |
39bee8a2 | 349 | guix/scripts/edit.scm \ |
fcc58db6 | 350 | guix/scripts/size.scm \ |
a9871278 LC |
351 | guix/scripts/git.scm \ |
352 | guix/scripts/git/authenticate.scm \ | |
88856916 | 353 | guix/scripts/graph.scm \ |
6776af04 | 354 | guix/scripts/weather.scm \ |
32efa254 DT |
355 | guix/scripts/container.scm \ |
356 | guix/scripts/container/exec.scm \ | |
5cbb832f | 357 | guix/scripts/deploy.scm \ |
f675f8de | 358 | guix/scripts/time-machine.scm \ |
e3ce5d70 | 359 | guix.scm \ |
d516736c | 360 | $(GNU_SYSTEM_MODULES) |
af51c820 | 361 | |
987a29ba LC |
362 | if HAVE_GUILE_SSH |
363 | ||
364 | MODULES += \ | |
f11c444d | 365 | guix/ssh.scm \ |
9d8ab803 | 366 | guix/remote.scm \ |
285f63e8 LC |
367 | guix/scripts/copy.scm \ |
368 | guix/store/ssh.scm | |
987a29ba LC |
369 | |
370 | endif HAVE_GUILE_SSH | |
371 | ||
35a32fef MO |
372 | if HAVE_GUILE_AVAHI |
373 | ||
374 | MODULES += \ | |
375 | guix/avahi.scm \ | |
376 | guix/scripts/discover.scm | |
377 | ||
378 | endif HAVE_GUILE_AVAHI | |
379 | ||
49e6291a LC |
380 | if BUILD_DAEMON_OFFLOAD |
381 | ||
382 | MODULES += \ | |
383 | guix/scripts/offload.scm | |
384 | ||
385 | endif BUILD_DAEMON_OFFLOAD | |
386 | ||
7f9d184d CR |
387 | # Scheme implementation of the build daemon and related functionality. |
388 | STORE_MODULES = \ | |
bf5bf577 | 389 | guix/store/database.scm \ |
72eda062 LC |
390 | guix/store/deduplication.scm \ |
391 | guix/store/roots.scm | |
7f9d184d | 392 | |
7f9d184d | 393 | MODULES += $(STORE_MODULES) |
7f9d184d | 394 | |
17ab08bc | 395 | # Internal modules with test suite support. |
873f6f13 LC |
396 | dist_noinst_DATA = \ |
397 | guix/tests.scm \ | |
398 | guix/tests/http.scm \ | |
c83eedba LC |
399 | guix/tests/git.scm \ |
400 | guix/tests/gnupg.scm | |
c1bc358f | 401 | |
7994250f AK |
402 | # Auxiliary files for packages. |
403 | AUX_FILES = \ | |
a7e70ec2 | 404 | gnu/packages/aux-files/chromium/master-preferences.json \ |
59d04f63 | 405 | gnu/packages/aux-files/emacs/guix-emacs.el \ |
53b51b44 | 406 | gnu/packages/aux-files/guix.vim \ |
cfce55bf LF |
407 | gnu/packages/aux-files/linux-libre/6.1-arm.conf \ |
408 | gnu/packages/aux-files/linux-libre/6.1-arm64.conf \ | |
409 | gnu/packages/aux-files/linux-libre/6.1-i686.conf \ | |
410 | gnu/packages/aux-files/linux-libre/6.1-x86_64.conf \ | |
14f6c210 LF |
411 | gnu/packages/aux-files/linux-libre/5.15-arm.conf \ |
412 | gnu/packages/aux-files/linux-libre/5.15-arm64.conf \ | |
413 | gnu/packages/aux-files/linux-libre/5.15-i686.conf \ | |
414 | gnu/packages/aux-files/linux-libre/5.15-x86_64.conf \ | |
66b5bc31 LF |
415 | gnu/packages/aux-files/linux-libre/5.10-arm.conf \ |
416 | gnu/packages/aux-files/linux-libre/5.10-arm64.conf \ | |
417 | gnu/packages/aux-files/linux-libre/5.10-i686.conf \ | |
418 | gnu/packages/aux-files/linux-libre/5.10-x86_64.conf \ | |
952820c5 | 419 | gnu/packages/aux-files/linux-libre/5.4-arm.conf \ |
952820c5 MW |
420 | gnu/packages/aux-files/linux-libre/5.4-arm64.conf \ |
421 | gnu/packages/aux-files/linux-libre/5.4-i686.conf \ | |
422 | gnu/packages/aux-files/linux-libre/5.4-x86_64.conf \ | |
ce7ceef3 MW |
423 | gnu/packages/aux-files/linux-libre/4.19-arm.conf \ |
424 | gnu/packages/aux-files/linux-libre/4.19-arm64.conf \ | |
425 | gnu/packages/aux-files/linux-libre/4.19-i686.conf \ | |
426 | gnu/packages/aux-files/linux-libre/4.19-x86_64.conf \ | |
c114c9c5 MW |
427 | gnu/packages/aux-files/linux-libre/4.14-arm.conf \ |
428 | gnu/packages/aux-files/linux-libre/4.14-i686.conf \ | |
429 | gnu/packages/aux-files/linux-libre/4.14-x86_64.conf \ | |
64562321 | 430 | gnu/packages/aux-files/pack-audit.c \ |
09448c09 | 431 | gnu/packages/aux-files/python/sanity-check.py \ |
90612b9f | 432 | gnu/packages/aux-files/python/sanity-check-next.py \ |
cb72f9a7 | 433 | gnu/packages/aux-files/python/sitecustomize.py \ |
0f9e7384 | 434 | gnu/packages/aux-files/renpy/renpy.in \ |
47a60325 | 435 | gnu/packages/aux-files/run-in-namespace.c |
1959fb04 | 436 | |
ebc32b31 LC |
437 | # Templates, examples. |
438 | EXAMPLES = \ | |
df2a9616 | 439 | gnu/system/examples/asus-c201.tmpl \ |
36ffaca2 | 440 | gnu/system/examples/bare-bones.tmpl \ |
59bcffa3 | 441 | gnu/system/examples/bare-hurd.tmpl \ |
9f1e39d1 | 442 | gnu/system/examples/beaglebone-black.tmpl \ |
d038b674 | 443 | gnu/system/examples/desktop.tmpl \ |
a6c642ef | 444 | gnu/system/examples/lightweight-desktop.tmpl \ |
1b0d2b2a | 445 | gnu/system/examples/docker-image.tmpl \ |
c7793b82 S |
446 | gnu/system/examples/raspberry-pi-64.tmpl \ |
447 | gnu/system/examples/raspberry-pi-64-nfs-root.tmpl \ | |
a6c642ef | 448 | gnu/system/examples/vm-image.tmpl |
ebc32b31 | 449 | |
17ab08bc | 450 | GOBJECTS = $(MODULES:%.scm=%.go) guix/config.go $(dist_noinst_DATA:%.scm=%.go) |
af51c820 | 451 | |
4aabc8ea | 452 | nobase_dist_guilemodule_DATA = \ |
10612d61 LC |
453 | guix/d3.v3.js \ |
454 | guix/graph.js \ | |
3931c761 | 455 | guix/store/schema.sql \ |
4aabc8ea | 456 | $(MODULES) $(MODULES_NOT_COMPILED) $(AUX_FILES) $(EXAMPLES) \ |
74574fd1 | 457 | $(MISC_DISTRO_FILES) |
9437fd73 LC |
458 | nobase_nodist_guilemodule_DATA = guix/config.scm |
459 | nobase_nodist_guileobject_DATA = $(GOBJECTS) | |
800cdeef | 460 | |
70a9c720 LC |
461 | # Handy way to remove the .go files without removing all the rest. |
462 | clean-go: | |
463 | -$(RM) -f $(GOBJECTS) | |
92becc3f | 464 | @find . -path ./test-tmp -prune -o -name '*.go' -print | \ |
cdf26f40 EB |
465 | if test -t 1; then \ |
466 | xargs -r echo -e "\033[31mwarning:\033[0m stray .go files:"; \ | |
467 | else \ | |
468 | xargs -r echo "warning: stray .go files:"; \ | |
469 | fi | |
70a9c720 | 470 | |
af51c820 | 471 | |
bb251307 LC |
472 | # Test extensions; has to be unconditional. |
473 | TEST_EXTENSIONS = .scm .sh | |
474 | ||
475 | if CAN_RUN_TESTS | |
476 | ||
30dd8310 | 477 | SCM_TESTS = \ |
12277003 | 478 | tests/accounts.scm \ |
4c0c4db0 | 479 | tests/base16.scm \ |
ddc29a78 | 480 | tests/base32.scm \ |
e9c6c584 | 481 | tests/base64.scm \ |
9d449b94 | 482 | tests/boot-parameters.scm \ |
12277003 RV |
483 | tests/bournish.scm \ |
484 | tests/builders.scm \ | |
f8275916 | 485 | tests/build-emacs-utils.scm \ |
12277003 RV |
486 | tests/build-utils.scm \ |
487 | tests/cache.scm \ | |
488 | tests/challenge.scm \ | |
af12790b | 489 | tests/channels.scm \ |
12277003 RV |
490 | tests/combinators.scm \ |
491 | tests/containers.scm \ | |
6776af04 | 492 | tests/cpan.scm \ |
7a18c3cc | 493 | tests/cpio.scm \ |
12277003 | 494 | tests/cran.scm \ |
6776af04 | 495 | tests/crate.scm \ |
12277003 RV |
496 | tests/cve.scm \ |
497 | tests/debug-link.scm \ | |
498 | tests/derivations.scm \ | |
cd903ef7 | 499 | tests/discovery.scm \ |
bdc298ec | 500 | tests/egg.scm \ |
aefcfdd0 | 501 | tests/elm.scm \ |
7f74a931 | 502 | tests/elpa.scm \ |
12277003 RV |
503 | tests/file-systems.scm \ |
504 | tests/gem.scm \ | |
21b679f6 | 505 | tests/gexp.scm \ |
873f6f13 | 506 | tests/git.scm \ |
c83eedba | 507 | tests/git-authenticate.scm \ |
12277003 RV |
508 | tests/glob.scm \ |
509 | tests/gnu-maintenance.scm \ | |
510 | tests/grafts.scm \ | |
511 | tests/graph.scm \ | |
15aa2c38 | 512 | tests/gremlin.scm \ |
12277003 | 513 | tests/hackage.scm \ |
40acbaf0 | 514 | tests/home-import.scm \ |
8eb17ceb | 515 | tests/home-services.scm \ |
049aefdd | 516 | tests/http-client.scm \ |
59ee1075 | 517 | tests/import-git.scm \ |
81f036bf | 518 | tests/import-github.scm \ |
12277003 RV |
519 | tests/import-utils.scm \ |
520 | tests/inferior.scm \ | |
aff8ce7c | 521 | tests/lint.scm \ |
467e874a | 522 | tests/minetest.scm \ |
12277003 RV |
523 | tests/modules.scm \ |
524 | tests/monads.scm \ | |
525 | tests/nar.scm \ | |
5658ae8a | 526 | tests/networking.scm \ |
6776af04 | 527 | tests/opam.scm \ |
43408e30 | 528 | tests/openpgp.scm \ |
12277003 | 529 | tests/packages.scm \ |
850edd77 | 530 | tests/pack.scm \ |
12277003 RV |
531 | tests/pki.scm \ |
532 | tests/print.scm \ | |
533 | tests/processes.scm \ | |
534 | tests/profiles.scm \ | |
535 | tests/publish.scm \ | |
6776af04 | 536 | tests/pypi.scm \ |
5817e222 | 537 | tests/read-print.scm \ |
12277003 | 538 | tests/records.scm \ |
598f4c50 | 539 | tests/rpm.scm \ |
12277003 | 540 | tests/scripts.scm \ |
12277003 RV |
541 | tests/search-paths.scm \ |
542 | tests/services.scm \ | |
db6b9d2f | 543 | tests/services/file-sharing.scm \ |
a77e3a58 | 544 | tests/services/configuration.scm \ |
0ea62e84 | 545 | tests/services/lightdm.scm \ |
d3e439e3 | 546 | tests/services/linux.scm \ |
6428f854 | 547 | tests/services/telephony.scm \ |
12277003 RV |
548 | tests/sets.scm \ |
549 | tests/size.scm \ | |
12277003 | 550 | tests/status.scm \ |
c5a2e1ff | 551 | tests/store-database.scm \ |
12277003 RV |
552 | tests/store-deduplication.scm \ |
553 | tests/store-roots.scm \ | |
554 | tests/store.scm \ | |
555 | tests/substitute.scm \ | |
556 | tests/swh.scm \ | |
557 | tests/syscalls.scm \ | |
558 | tests/system.scm \ | |
f23803af | 559 | tests/style.scm \ |
12277003 | 560 | tests/texlive.scm \ |
f68b3ba1 | 561 | tests/transformations.scm \ |
12277003 RV |
562 | tests/ui.scm \ |
563 | tests/union.scm \ | |
564 | tests/upstream.scm \ | |
565 | tests/utils.scm \ | |
566 | tests/uuid.scm \ | |
4c0c65ac | 567 | tests/workers.scm |
30dd8310 | 568 | |
38d337a5 MC |
569 | if HAVE_GUILE_LIB |
570 | SCM_TESTS += tests/go.scm | |
0f853ab7 MC |
571 | else |
572 | EXTRA_DIST += tests/go.scm | |
38d337a5 MC |
573 | endif |
574 | ||
069d2bf2 LC |
575 | if BUILD_DAEMON_OFFLOAD |
576 | SCM_TESTS += tests/offload.scm | |
577 | else | |
578 | EXTRA_DIST += tests/offload.scm | |
579 | endif | |
580 | ||
30dd8310 | 581 | SH_TESTS = \ |
0afdc485 | 582 | tests/guix-build.sh \ |
96915a44 | 583 | tests/guix-build-branch.sh \ |
37d19403 | 584 | tests/guix-download.sh \ |
fe8ff028 | 585 | tests/guix-gc.sh \ |
a9871278 | 586 | tests/guix-git-authenticate.sh \ |
ccbce848 | 587 | tests/guix-hash.sh \ |
272c0709 | 588 | tests/guix-pack.sh \ |
08f41083 | 589 | tests/guix-pack-localstatedir.sh \ |
b07014f5 | 590 | tests/guix-pack-relocatable.sh \ |
0820098d | 591 | tests/guix-package.sh \ |
d824cfba | 592 | tests/guix-package-aliases.sh \ |
57b86237 | 593 | tests/guix-package-net.sh \ |
a15542d2 | 594 | tests/guix-style.sh \ |
c1202fb1 | 595 | tests/guix-system.sh \ |
5e68f7a7 | 596 | tests/guix-home.sh \ |
760c60d6 | 597 | tests/guix-archive.sh \ |
dd7c013d | 598 | tests/guix-authenticate.sh \ |
cad25264 | 599 | tests/guix-environment.sh \ |
f535dcbe | 600 | tests/guix-environment-container.sh \ |
04f247be | 601 | tests/guix-refresh.sh \ |
80edb7df | 602 | tests/guix-shell.sh \ |
c42b7baf | 603 | tests/guix-shell-export-manifest.sh \ |
88856916 | 604 | tests/guix-graph.sh \ |
bd747018 | 605 | tests/guix-describe.sh \ |
c924e541 | 606 | tests/guix-repl.sh \ |
dd7c013d | 607 | tests/guix-lint.sh |
af51c820 | 608 | |
30dd8310 LC |
609 | TESTS = $(SCM_TESTS) $(SH_TESTS) |
610 | ||
a9edb211 | 611 | AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)" GUILE_AUTO_COMPILE=0 |
352ec143 | 612 | |
4d9ed584 LC |
613 | SCM_LOG_DRIVER = \ |
614 | $(top_builddir)/test-env --quiet-stderr \ | |
615 | $(GUILE) --no-auto-compile -e main \ | |
616 | $(top_srcdir)/build-aux/test-driver.scm | |
617 | ||
a9edb211 | 618 | AM_SCM_LOG_DRIVER_FLAGS = --brief=yes |
97298ffa | 619 | |
69cfce50 | 620 | SH_LOG_COMPILER = $(top_builddir)/test-env $(SHELL) |
97298ffa | 621 | AM_SH_LOG_FLAGS = -x -e |
af51c820 | 622 | |
3a33730a LC |
623 | # Make sure `tests/guix-gc.sh' runs last, after all the others. Otherwise it |
624 | # could end up removing files from the store while they are being used by | |
625 | # other instances of the daemon. | |
626 | tests/guix-gc.log: \ | |
627 | $(patsubst %.sh,%.log,$(filter-out tests/guix-gc.sh,$(SH_TESTS))) \ | |
628 | $(SCM_TESTS:%.scm=%.log) | |
629 | ||
bb251307 LC |
630 | else !CAN_RUN_TESTS |
631 | ||
632 | TESTS = | |
633 | SH_TESTS = | |
634 | SCM_TESTS = | |
635 | ||
636 | # Automake always generates a 'check' target, so better not override it. | |
637 | check-local: | |
638 | @echo | |
639 | @echo "Cannot run tests because file name limits would be exceeded." >&2 | |
640 | @echo "Look for 'length' in the 'config.log' file for details." >&2 | |
641 | @echo | |
642 | @exit 1 | |
643 | ||
644 | endif !CAN_RUN_TESTS | |
645 | ||
4f024ef3 | 646 | check-system: $(GOBJECTS) |
e9f693d0 | 647 | $(AM_V_at)$(top_builddir)/pre-inst-env \ |
5ec4156b | 648 | guix build -m $(top_srcdir)/etc/system-tests.scm -K |
e9f693d0 | 649 | |
3a8bfebe | 650 | # Public keys used to sign substitutes. |
d9a0bd4c | 651 | dist_pkgdata_DATA = \ |
d283bb96 | 652 | etc/substitutes/berlin.guix.gnu.org.pub \ |
757e633d | 653 | etc/substitutes/ci.guix.gnu.org.pub \ |
26499816 CB |
654 | etc/substitutes/ci.guix.info.pub \ |
655 | etc/substitutes/bordeaux.guix.gnu.org.pub | |
3a33730a | 656 | |
ee3e157d | 657 | # Bash completion file. |
bba0fa24 OP |
658 | dist_bashcompletion_DATA = etc/completion/bash/guix \ |
659 | etc/completion/bash/guix-daemon | |
ee3e157d | 660 | |
96dbc930 ELB |
661 | # Zsh completion file. |
662 | dist_zshcompletion_DATA = etc/completion/zsh/_guix | |
663 | ||
b83fc85f | 664 | # Fish completion file. |
665 | dist_fishcompletion_DATA = etc/completion/fish/guix.fish | |
666 | ||
b617a9fe | 667 | # SELinux policy |
d4031410 | 668 | nodist_selinux_policy_DATA = etc/guix-daemon.cil |
b617a9fe | 669 | |
b9fe8fd6 | 670 | EXTRA_DIST += \ |
81f61c17 | 671 | .dir-locals.el \ |
627e61f1 | 672 | .guix-authorizations \ |
dcc90d15 | 673 | .guix-channel \ |
89348270 MC |
674 | CODE-OF-CONDUCT \ |
675 | HACKING \ | |
676 | ROADMAP \ | |
677 | TODO \ | |
678 | bootstrap \ | |
f81ac34d | 679 | build-aux/build-self.scm \ |
1ad5209d | 680 | build-aux/check-channel-news.scm \ |
89348270 MC |
681 | build-aux/check-final-inputs-self-contained.scm \ |
682 | build-aux/compile-all.scm \ | |
2cfc8d69 | 683 | build-aux/compile-as-derivation.scm \ |
89348270 | 684 | build-aux/config.rpath \ |
0623138f | 685 | build-aux/convert-xref.scm \ |
89348270 | 686 | build-aux/cuirass/hurd-manifest.scm \ |
1c2ae810 | 687 | build-aux/generate-authors.scm \ |
3cf0dbda | 688 | build-aux/test-driver.scm \ |
920803fb | 689 | build-aux/update-NEWS.scm \ |
89348270 MC |
690 | build-aux/update-guix-package.scm \ |
691 | doc/build.scm \ | |
692 | etc/disarchive-manifest.scm \ | |
693 | etc/guix-install.sh \ | |
694 | etc/historical-authorizations \ | |
695 | etc/news.scm \ | |
d07d6ea3 | 696 | etc/kernels-manifest.scm \ |
89348270 MC |
697 | etc/release-manifest.scm \ |
698 | etc/source-manifest.scm \ | |
699 | etc/system-tests.scm \ | |
700 | etc/time-travel-manifest.scm \ | |
701 | scripts/guix.in \ | |
74afaa37 | 702 | tests/cve-sample.json \ |
9ebc9ca0 | 703 | tests/keys/civodul.pub \ |
9ebc9ca0 | 704 | tests/keys/dsa.pub \ |
9ebc9ca0 AL |
705 | tests/keys/ed25519-2.pub \ |
706 | tests/keys/ed25519-2.sec \ | |
707 | tests/keys/ed25519-3.pub \ | |
708 | tests/keys/ed25519-3.sec \ | |
89348270 MC |
709 | tests/keys/ed25519.pub \ |
710 | tests/keys/ed25519.sec \ | |
711 | tests/keys/rsa.pub \ | |
712 | tests/keys/signing-key.pub \ | |
713 | tests/keys/signing-key.sec \ | |
714 | tests/test.drv \ | |
ed795c06 | 715 | $(TESTS) |
d7672884 | 716 | |
49e6291a LC |
717 | if !BUILD_DAEMON_OFFLOAD |
718 | ||
719 | EXTRA_DIST += \ | |
720 | guix/scripts/offload.scm | |
721 | ||
722 | endif !BUILD_DAEMON_OFFLOAD | |
723 | ||
724 | ||
30dd8310 | 725 | CLEANFILES = \ |
cba386c1 | 726 | $(bin_SCRIPTS) \ |
30dd8310 | 727 | $(GOBJECTS) \ |
9bff16b3 | 728 | $(SCM_TESTS:tests/%.scm=%.log) |
af51c820 | 729 | |
28561d85 LC |
730 | # Unset 'GUILE_LOAD_COMPILED_PATH' altogether while compiling. Otherwise, if |
731 | # $GUILE_LOAD_COMPILED_PATH contains $(moduledir), we may find .go files in | |
732 | # there that are newer than the local .scm files (for instance because the | |
733 | # user ran 'make install' recently). When that happens, we end up loading | |
734 | # those previously-installed .go files, which may be stale, thereby breaking | |
d92e23dc LC |
735 | # the whole thing. Likewise, set 'XDG_CACHE_HOME' to avoid loading possibly |
736 | # stale files from ~/.cache/guile/ccache. | |
de6af327 | 737 | %.go: make-go ; @: |
ef82ba9d LC |
738 | make-go: make-core-go make-packages-go make-system-go make-cli-go |
739 | ||
740 | # Define a rule to build a subset of the .go files. | |
741 | define guile-compilation-rule | |
742 | ||
743 | $(1): $(2) | |
744 | $(AM_V_at)echo "Compiling Scheme modules..." ; \ | |
745 | unset GUILE_LOAD_COMPILED_PATH ; \ | |
746 | XDG_CACHE_HOME=/nowhere \ | |
747 | host=$(host) srcdir="$(top_srcdir)" \ | |
748 | $(top_builddir)/pre-inst-env \ | |
749 | $(GUILE) -L "$(top_builddir)" -L "$(top_srcdir)" \ | |
750 | --no-auto-compile \ | |
751 | -s "$(top_srcdir)"/build-aux/compile-all.scm \ | |
752 | --total $(words $(MODULES)) \ | |
753 | --completed $(3) \ | |
754 | $$(filter %.scm,$$^) | |
755 | ||
ef82ba9d LC |
756 | endef |
757 | ||
758 | # Split compilation in several steps, each of which building a subset of | |
759 | # $(MODULES). The main goal is to reduce peak memory consumption, as reported | |
760 | # in <https://issues.guix.gnu.org/48963>. Each 'eval' call below creates a | |
761 | # 'make-*-go' phony target that builds the corresponding subset. | |
762 | ||
1aa7ee52 LC |
763 | first_half := \ |
764 | gnu/packages/a% gnu/packages/b% gnu/packages/c% gnu/packages/d% \ | |
765 | gnu/packages/e% gnu/packages/f% gnu/packages/g% gnu/packages/h% \ | |
766 | gnu/packages/i% gnu/packages/j% gnu/packages/k% gnu/packages/l% | |
767 | ||
768 | MODULES_CORE := guix.scm $(filter-out guix/scripts/%,$(filter guix/%,$(MODULES))) | |
769 | MODULES_PACKAGES1 := $(filter $(first_half),$(MODULES)) | |
770 | MODULES_PACKAGES2 := $(filter-out $(first_half),$(filter gnu/packages/%,$(MODULES))) | |
771 | MODULES_PACKAGES := $(MODULES_PACKAGES1) $(MODULES_PACKAGES2) | |
772 | MODULES_SYSTEM := gnu.scm $(filter-out gnu/packages/%,$(filter gnu/%,$(MODULES))) | |
773 | MODULES_CLI := $(filter guix/scripts/%,$(MODULES)) | |
774 | MODULES_PO := guix/build/po.scm | |
ef82ba9d LC |
775 | |
776 | $(eval $(call guile-compilation-rule,make-core-go, \ | |
777 | $(MODULES_CORE) guix/config.scm $(dist_noinst_DATA), \ | |
778 | 0)) | |
0623138f | 779 | .PHONY: make-core-go |
ef82ba9d | 780 | |
1aa7ee52 LC |
781 | $(eval $(call guile-compilation-rule,make-packages1-go, \ |
782 | $(MODULES_PACKAGES1) make-core-go, \ | |
ef82ba9d | 783 | $(words $(MODULES_CORE)))) |
1aa7ee52 LC |
784 | .PHONY: make-packages1-go |
785 | ||
786 | $(eval $(call guile-compilation-rule,make-packages2-go, \ | |
787 | $(MODULES_PACKAGES2) make-core-go make-packages1-go, \ | |
788 | $(words $(MODULES_CORE) $(MODULES_PACKAGES1)))) | |
789 | .PHONY: make-packages2-go | |
790 | ||
791 | make-packages-go: make-packages1-go make-packages2-go | |
0623138f | 792 | .PHONY: make-packages-go |
ef82ba9d LC |
793 | |
794 | $(eval $(call guile-compilation-rule,make-system-go, \ | |
795 | $(MODULES_SYSTEM) make-packages-go make-core-go, \ | |
796 | $(words $(MODULES_CORE) $(MODULES_PACKAGES)))) | |
0623138f | 797 | .PHONY: make-system-go |
ef82ba9d LC |
798 | |
799 | $(eval $(call guile-compilation-rule,make-cli-go, \ | |
800 | $(MODULES_CLI) make-system-go make-packages-go make-core-go, \ | |
801 | $(words $(MODULES_CORE) $(MODULES_PACKAGES) $(MODULES_SYSTEM)))) | |
0623138f JL |
802 | .PHONY: make-cli-go |
803 | ||
804 | $(eval $(call guile-compilation-rule,guix/build/po.go, \ | |
805 | $(MODULES_PO), \ | |
806 | 0)) | |
af51c820 LC |
807 | |
808 | SUFFIXES = .go | |
809 | ||
810 | # Make sure source files are installed first, so that the mtime of | |
811 | # installed compiled files is greater than that of installed source | |
812 | # files. See | |
813 | # <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html> | |
814 | # for details. | |
9437fd73 | 815 | guix_install_go_files = install-nobase_nodist_guileobjectDATA |
af51c820 | 816 | $(guix_install_go_files): install-nobase_dist_guilemoduleDATA |
f68b0893 | 817 | |
6005bd07 | 818 | # The above trick doesn't work for 'config.go' because both 'config.scm' and |
9437fd73 | 819 | # 'config.go' are listed in $(nobase_nodist_guileobject_DATA). Thus, give it |
6005bd07 | 820 | # special treatment. |
92d00ca4 | 821 | install-data-hook: |
9437fd73 | 822 | touch "$(DESTDIR)$(guileobjectdir)/guix/config.go" |
6005bd07 | 823 | |
5d95ac91 LC |
824 | # Commit corresponding to the 'v1.0.0' tag. |
825 | commit_v1_0_0 = 6298c3ffd9654d3231a6f25390b056483e8f407c | |
1e43ab2c | 826 | |
96bf434c LC |
827 | # Introduction of the 'guix' channel. Keep in sync with (guix channels)! |
828 | channel_intro_commit = 9edb3f66fd807b096b48283debdcddccfea34bad | |
829 | channel_intro_signer = BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA | |
830 | ||
1dba0b45 | 831 | # Authenticate the current Git checkout by checking signatures on every commit. |
ef6596a2 | 832 | GUIX_GIT_KEYRING = origin/keyring |
1dba0b45 | 833 | authenticate: |
1e43ab2c | 834 | $(AM_V_at)echo "Authenticating Git checkout..." ; \ |
1dba0b45 | 835 | guix git authenticate \ |
ef6596a2 | 836 | --keyring=$(GUIX_GIT_KEYRING) \ |
96bf434c LC |
837 | --cache-key=channels/guix --stats \ |
838 | "$(channel_intro_commit)" "$(channel_intro_signer)" | |
1e43ab2c | 839 | |
2cfc8d69 LC |
840 | # Assuming Guix is already installed and the daemon is up and running, this |
841 | # rule builds from $(srcdir), creating and building derivations. | |
842 | as-derivation: | |
843 | $(AM_V_at)echo "Building Guix in Guix..." ; \ | |
844 | $(GUILE) --no-auto-compile \ | |
845 | "$(top_srcdir)/build-aux/compile-as-derivation.scm" \ | |
846 | "$(abs_top_srcdir)" | |
6005bd07 | 847 | |
ee764179 | 848 | SUBDIRS = po/guix po/packages |
931c132a | 849 | BUILT_SOURCES = |
a9424c08 | 850 | |
03d0e2d2 | 851 | include doc/local.mk |
568717fd | 852 | |
c2033df4 LC |
853 | if BUILD_DAEMON |
854 | ||
03d0e2d2 | 855 | include nix/local.mk |
c2033df4 LC |
856 | |
857 | endif BUILD_DAEMON | |
858 | ||
f68b0893 | 859 | ACLOCAL_AMFLAGS = -I m4 |
ef5f5c86 LC |
860 | |
861 | # Pass an explicit '--localstatedir' so that configure does not error out if | |
ddce2d3a LC |
862 | # it finds an existing installation with a different localstatedir. Inherit |
863 | # 'ac_cv_guix_test_root' so that "make check" in $(distdir) does not have to | |
864 | # repopulate the whole store, and to make sure $(GUIX_TEST_ROOT) is short | |
865 | # enough for shebangs. | |
e76bdf8b | 866 | AM_DISTCHECK_CONFIGURE_FLAGS = \ |
ef5f5c86 | 867 | --localstatedir="$$dc_install_base/var" \ |
d388c2c4 | 868 | --with-libgcrypt-prefix="$(LIBGCRYPT_PREFIX)" \ |
14af289e | 869 | --with-libgcrypt-libdir="$(LIBGCRYPT_LIBDIR)" \ |
ddce2d3a LC |
870 | --enable-daemon \ |
871 | ac_cv_guix_test_root="$(GUIX_TEST_ROOT)" | |
0e993428 | 872 | |
e9926f80 | 873 | # The self-contained tarball. |
9d3fb6c7 | 874 | guix-binary.%.tar.xz: |
33349e91 | 875 | $(AM_V_GEN)GUIX_PACKAGE_PATH= \ |
1cfa6bcc | 876 | tarball=`$(top_builddir)/pre-inst-env guix pack -C xz \ |
98148830 | 877 | --fallback \ |
808084e9 | 878 | -s "$*" --localstatedir --profile-name=current-guix \ |
c8b1799f | 879 | guix` ; \ |
239c2266 | 880 | cp "$$tarball" "$@.tmp" ; mv "$@.tmp" "$@" |
9d3fb6c7 LC |
881 | |
882 | ||
f995f710 MC |
883 | # The dependency on doc-pot-update is to generate the .pot files, which are |
884 | # not checked in. | |
885 | dist: doc-pot-update | |
b3f4df3f | 886 | |
1f1a0050 | 887 | dist-hook: gen-ChangeLog gen-AUTHORS gen-tarball-version |
a8ac45b1 AK |
888 | dist-hook: assert-no-store-file-names |
889 | ||
81f61c17 | 890 | distcheck-hook: assert-binaries-available assert-final-inputs-self-contained |
e793178a | 891 | |
e6860b5e LC |
892 | EXTRA_DIST += $(top_srcdir)/.version |
893 | BUILT_SOURCES += $(top_srcdir)/.version | |
c6e8f40f LC |
894 | $(top_srcdir)/.version: config.status |
895 | $(AM_V_GEN)echo $(VERSION) > "$@-t" && mv "$@-t" "$@" | |
e6860b5e LC |
896 | |
897 | gen-tarball-version: | |
898 | echo $(VERSION) > "$(distdir)/.tarball-version" | |
899 | ||
1f1a0050 | 900 | gen-ChangeLog: |
e71ad29d | 901 | $(AM_V_GEN)if test -d .git; then \ |
e793178a | 902 | $(top_srcdir)/build-aux/gitlog-to-changelog \ |
1f1a0050 | 903 | > $(distdir)/ChangeLog.tmp; \ |
e793178a | 904 | rm -f $(distdir)/ChangeLog; \ |
1f1a0050 | 905 | mv $(distdir)/ChangeLog.tmp $(distdir)/ChangeLog; \ |
e793178a LC |
906 | fi |
907 | ||
a8ac45b1 | 908 | gen-AUTHORS: |
e71ad29d | 909 | $(AM_V_GEN)if test -d .git; then \ |
ac140f79 LC |
910 | rm -f "$(distdir)/AUTHORS"; \ |
911 | $(top_builddir)/pre-inst-env "$(GUILE)" \ | |
912 | "$(top_srcdir)/build-aux/generate-authors.scm" \ | |
913 | "$(top_srcdir)" "$(distdir)/AUTHORS"; \ | |
914 | fi | |
a8ac45b1 | 915 | |
08b14ab2 LC |
916 | # Like 'dist', but regenerate 'configure' so we get an up-to-date |
917 | # 'PACKAGE_VERSION' string. (In Gnulib, 'GNUmakefile' has a special trick to | |
918 | # do that whenever a 'dist' target is used.) | |
919 | dist-with-updated-version: | |
920 | @echo "Running './bootstrap' for new version string..." | |
921 | $(top_srcdir)/bootstrap | |
922 | $(MAKE) $(AM_MAKEFLAGS) $(top_srcdir)/.version dist | |
923 | ||
924 | .PHONY: dist-with-updated-version | |
925 | ||
334dce14 LC |
926 | \f |
927 | # | |
928 | # Release management. | |
929 | # | |
930 | ||
931 | releasedir = release-$(PACKAGE_VERSION) | |
932 | ||
933 | PACKAGE_FULL_TARNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) | |
934 | ||
935 | # List of source tarballs produced. This must be kept in sync with the | |
936 | # 'dist-' options of 'AM_INIT_AUTOMAKE' in 'configure.ac'. | |
937 | SOURCE_TARBALLS = \ | |
938 | $(foreach ext,tar.gz,$(PACKAGE_FULL_TARNAME).$(ext)) | |
939 | ||
940 | # Systems supported by Guix. | |
a16eb6c5 CM |
941 | SUPPORTED_SYSTEMS ?= x86_64-linux i686-linux armhf-linux aarch64-linux \ |
942 | powerpc64le-linux | |
334dce14 LC |
943 | |
944 | # Guix binary tarballs. | |
945 | BINARY_TARBALLS = \ | |
946 | $(foreach system,$(SUPPORTED_SYSTEMS),guix-binary.$(system).tar.xz) | |
947 | ||
13f62aef LC |
948 | # Systems supported by Guix System. |
949 | GUIX_SYSTEM_SUPPORTED_SYSTEMS ?= x86_64-linux i686-linux | |
334dce14 | 950 | |
13f62aef LC |
951 | # Systems for which we build Guix VMs. |
952 | GUIX_SYSTEM_VM_SYSTEMS ?= x86_64-linux | |
a6c642ef | 953 | |
13f62aef LC |
954 | # Prefix of the Guix installation image file name. |
955 | GUIX_SYSTEM_IMAGE_BASE = guix-system-install-$(PACKAGE_VERSION) | |
334dce14 | 956 | |
13f62aef LC |
957 | # Prefix of the Guix VM image file name. |
958 | GUIX_SYSTEM_VM_IMAGE_BASE = guix-system-vm-image-$(PACKAGE_VERSION) | |
a6c642ef | 959 | |
dbab5eb8 LC |
960 | # Flags for 'guix system vm-image'. By default create a VM image that appears |
961 | # to have a 20G hard disk. | |
962 | GUIX_SYSTEM_VM_IMAGE_FLAGS ?= --image-size=30G | |
963 | ||
35a09fd9 LC |
964 | # Return the sequence of '-s' flags for the given systems. |
965 | system_flags = $(foreach system,$(1),-s $(system)) | |
966 | ||
334dce14 LC |
967 | # The release process works in several phases: |
968 | # | |
54dc9d36 | 969 | # 0. We assume the developer created a 'vX.Y.Z' tag. |
334dce14 | 970 | # 1. Build the source tarball. |
54dc9d36 | 971 | # 2. Update the 'guix' package so that it corresponds to the 'vX.Y.Z' tag. |
334dce14 LC |
972 | # 3. Build the binary tarballs for that 'guix' package. |
973 | # 4. Update the 'guix' package again. | |
54dc9d36 MC |
974 | # 5. Build the installation and VM images. The images will run 'guix' |
975 | # corresponding to 'vX.Y.Z' + 1 commit, and they will install 'vX.Y.Z'. | |
334dce14 LC |
976 | # |
977 | # This 'release' target takes care of everything and copies the resulting | |
978 | # files to $(releasedir). | |
73c791b8 LC |
979 | # |
980 | # XXX: Depend on 'dist' rather than 'distcheck' to work around the Gettext | |
981 | # issue described at <https://savannah.gnu.org/bugs/index.php?51027>. | |
86811312 | 982 | release: dist-with-updated-version all |
2a396266 LC |
983 | @if ! git diff-index --quiet HEAD; then \ |
984 | echo "There are uncommitted changes; stopping." >&2 ; \ | |
985 | exit 1 ; \ | |
986 | fi | |
334dce14 LC |
987 | $(MKDIR_P) "$(releasedir)" |
988 | rm -f "$(releasedir)"/* | |
989 | mv $(SOURCE_TARBALLS) "$(releasedir)" | |
54dc9d36 | 990 | # Bump the Guix package version and build it. |
3de898b4 MC |
991 | GUIX_ALLOW_ME_TO_USE_PRIVATE_COMMIT=yes \ |
992 | $(top_builddir)/pre-inst-env "$(GUILE)" \ | |
993 | $(top_srcdir)/build-aux/update-guix-package.scm \ | |
994 | "`git rev-parse HEAD`" "$(PACKAGE_VERSION)" | |
334dce14 LC |
995 | git add $(top_srcdir)/gnu/packages/package-management.scm |
996 | git commit -m "gnu: guix: Update to $(PACKAGE_VERSION)." | |
c8b1799f | 997 | $(top_builddir)/pre-inst-env guix build guix \ |
35a09fd9 | 998 | $(call system_flags,$(SUPPORTED_SYSTEMS)) \ |
98148830 | 999 | -v1 --no-grafts --fallback |
54dc9d36 | 1000 | # Generate the binary release tarballs. |
334dce14 LC |
1001 | rm -f $(BINARY_TARBALLS) |
1002 | $(MAKE) $(BINARY_TARBALLS) | |
1003 | for system in $(SUPPORTED_SYSTEMS) ; do \ | |
1004 | mv "guix-binary.$$system.tar.xz" \ | |
1005 | "$(releasedir)/guix-binary-$(PACKAGE_VERSION).$$system.tar.xz" ; \ | |
1006 | done | |
95a03aa5 LC |
1007 | # Build 'current-guix' to speed things up for the next step. |
1008 | $(top_builddir)/pre-inst-env guix build \ | |
1009 | -e '((@ (gnu packages package-management) current-guix))' \ | |
35a09fd9 | 1010 | $(call system_flags,$(GUIX_SYSTEM_SUPPORTED_SYSTEMS)) \ |
98148830 | 1011 | -v1 --no-grafts --fallback |
54dc9d36 | 1012 | # Generate the ISO installation images. |
13f62aef | 1013 | for system in $(GUIX_SYSTEM_SUPPORTED_SYSTEMS) ; do \ |
020184fd | 1014 | GUIX_DISPLAYED_VERSION="`git describe --match=v* | sed -'es/^v//'`" ; \ |
334dce14 | 1015 | image=`$(top_builddir)/pre-inst-env \ |
fdafd404 | 1016 | guix system image -t iso9660 \ |
313f4926 | 1017 | --label="GUIX_$${system}_$(VERSION)" \ |
98148830 | 1018 | --system=$$system --fallback \ |
334dce14 LC |
1019 | gnu/system/install.scm` ; \ |
1020 | if [ ! -f "$$image" ] ; then \ | |
fdafd404 | 1021 | echo "failed to produce Guix installation image for $$system" >&2 ; \ |
334dce14 LC |
1022 | exit 1 ; \ |
1023 | fi ; \ | |
82c0f34c LC |
1024 | cp "$$image" "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.tmp" ; \ |
1025 | mv "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso.tmp" \ | |
1026 | "$(releasedir)/$(GUIX_SYSTEM_IMAGE_BASE).$$system.iso" ; \ | |
334dce14 | 1027 | done |
54dc9d36 | 1028 | # Generate the VM images. |
13f62aef | 1029 | for system in $(GUIX_SYSTEM_VM_SYSTEMS) ; do \ |
020184fd | 1030 | GUIX_DISPLAYED_VERSION="`git describe --match=v* | sed -'es/^v//'`" ; \ |
a6c642ef | 1031 | image=`$(top_builddir)/pre-inst-env \ |
7aeef7ee | 1032 | guix system image -t qcow2 $(GUIX_SYSTEM_VM_IMAGE_FLAGS) \ |
9d0b9c7c | 1033 | --save-provenance \ |
98148830 | 1034 | --system=$$system --fallback \ |
a6c642ef LF |
1035 | gnu/system/examples/vm-image.tmpl` ; \ |
1036 | if [ ! -f "$$image" ] ; then \ | |
ccd9d07d | 1037 | echo "failed to produce Guix VM image for $$system" >&2 ; \ |
a6c642ef LF |
1038 | exit 1 ; \ |
1039 | fi ; \ | |
b1b41a23 | 1040 | cp "$$image" "$(releasedir)/$(GUIX_SYSTEM_VM_IMAGE_BASE).$$system.qcow2"; \ |
a6c642ef | 1041 | done |
2a396266 LC |
1042 | @echo |
1043 | @echo "Congratulations! All the release files are now in $(releasedir)." | |
1044 | @echo | |
334dce14 | 1045 | |
94fa8d76 LC |
1046 | update-guix-package: |
1047 | git rev-parse HEAD | |
1048 | $(top_builddir)/pre-inst-env "$(GUILE)" \ | |
1049 | $(top_srcdir)/build-aux/update-guix-package.scm \ | |
1050 | "`git rev-parse HEAD`" | |
1051 | ||
920803fb LC |
1052 | # Location of a checkout of <git://git.savannah.gnu.org/guix/maintenance.git>. |
1053 | # Package data from this checkout is used by 'update-NEWS.scm'. | |
1054 | GUIX_MAINTENANCE_DIRECTORY ?= $(top_srcdir)/../guix-maintenance | |
1055 | ||
1056 | update-NEWS: $(GOBJECTS) | |
1057 | $(top_builddir)/pre-inst-env "$(GUILE)" \ | |
1058 | $(top_srcdir)/build-aux/update-NEWS.scm \ | |
1059 | $(top_srcdir)/NEWS "$(GUIX_MAINTENANCE_DIRECTORY)/data" | |
1060 | ||
834129e0 | 1061 | # Make sure we're not shipping a file that embeds a local /gnu/store file name. |
1f1a0050 | 1062 | assert-no-store-file-names: |
e71ad29d | 1063 | $(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info \ |
69e7322f LC |
1064 | --exclude=*.info-[0-9] --exclude=*.dot \ |
1065 | --exclude=*.eps --exclude-dir=bootstrap \ | |
7bc46ecc RW |
1066 | --exclude=guix-manual.pot --exclude=guix-manual.*.po \ |
1067 | --exclude=guix-cookbook.pot --exclude=guix-cookbook.*.po \ | |
69e7322f | 1068 | --exclude=guix-prettify.el \ |
1f1a0050 | 1069 | --exclude=ChangeLog* \ |
0b2ea781 | 1070 | --exclude=binutils-boot-2.20*.patch \ |
69e7322f | 1071 | -E "$(storedir)/[a-z0-9]{32}-" $(distdir) ; \ |
a463ffd9 LC |
1072 | then \ |
1073 | echo "error: store file names embedded in the distribution" >&2 ; \ | |
1074 | exit 1 ; \ | |
1075 | fi | |
1076 | ||
13ff4ae5 LC |
1077 | # Make sure important substitutes are available. Check only the primary |
1078 | # server so that '--display-missing' doesn't print two lists. | |
93cba30c | 1079 | assert-binaries-available: $(GOBJECTS) |
f292c501 LC |
1080 | $(AM_V_at)$(top_builddir)/pre-inst-env \ |
1081 | guix weather -m "$(top_srcdir)/etc/release-manifest.scm" \ | |
13ff4ae5 | 1082 | --substitute-urls="https://ci.guix.gnu.org" \ |
f292c501 | 1083 | --display-missing |
56fbf262 | 1084 | |
81f61c17 | 1085 | # Make sure the final inputs don't refer to bootstrap tools. |
93cba30c | 1086 | assert-final-inputs-self-contained: $(GOBJECTS) |
e71ad29d | 1087 | $(AM_V_at)$(top_builddir)/pre-inst-env "$(GUILE)" \ |
81f61c17 LC |
1088 | "$(top_srcdir)/build-aux/check-final-inputs-self-contained.scm" |
1089 | ||
1ad5209d LC |
1090 | # Validate channel news. |
1091 | check-channel-news: $(GOBJECTS) | |
1092 | $(AM_V_at)$(top_builddir)/pre-inst-env "$(GUILE)" \ | |
1093 | "$(top_srcdir)/build-aux/check-channel-news.scm" | |
1094 | ||
33bb89c9 MO |
1095 | # Compute the Cuirass jobs. |
1096 | cuirass-jobs: $(GOBJECTS) | |
1097 | rm -rf "$@" | |
1098 | $(AM_V_at)$(MKDIR_P) "$@" | |
89cbec89 | 1099 | $(AM_V_GEN)$(top_builddir)/pre-inst-env "$(GUILE)" \ |
33bb89c9 | 1100 | "$(top_srcdir)/build-aux/cuirass/evaluate.scm" "$@" |
454caca8 | 1101 | |
e6860b5e | 1102 | .PHONY: gen-ChangeLog gen-AUTHORS gen-tarball-version |
56fbf262 | 1103 | .PHONY: assert-no-store-file-names assert-binaries-available |
1ad5209d | 1104 | .PHONY: assert-final-inputs-self-contained check-channel-news |
1e43ab2c | 1105 | .PHONY: clean-go make-go as-derivation authenticate |
33bb89c9 | 1106 | .PHONY: update-guix-package update-NEWS cuirass-jobs release |
8c3d8894 | 1107 | |
61a224ad LC |
1108 | # Downloading up-to-date PO files. |
1109 | ||
45549e9f JL |
1110 | WEBLATE_REPO = https://framagit.org/tyreunom/guix-translations |
1111 | ||
1112 | # Shallow clone the Git repository behind Weblate and copy files from it if | |
1113 | # they contain at least one translation, and they are well-formed (Scheme | |
1114 | # format only), warn otherwise. Copied files are converted to a canonical | |
1115 | # form. | |
1116 | download-po: | |
1117 | dir=$$(mktemp -d); \ | |
ff194cb2 | 1118 | git clone --depth 1 "$(WEBLATE_REPO)" "$$dir/translations" && \ |
45549e9f JL |
1119 | for domain in po/doc po/guix po/packages; do \ |
1120 | for po in "$$dir/translations/$$domain"/*.po; do \ | |
1121 | translated=$$(LANG=en_US.UTF-8 msgfmt --statistics "$$po" 2>&1 | cut -f1 -d' '); \ | |
ff194cb2 JL |
1122 | untranslated=$$(LANG=en_US.UTF-8 msgfmt --statistics "$$po" 2>&1 | rev | cut -f3 -d' ' | rev); \ |
1123 | untranslated=$${untranslated:-0}; \ | |
1124 | total=$$(($$translated+$$untranslated)); \ | |
45549e9f JL |
1125 | target=$$(basename "$$po"); \ |
1126 | target="$$domain/$$target"; \ | |
ff194cb2 JL |
1127 | msgfmt -c "$$po"; \ |
1128 | if msgfmt -c "$$po" && [ "$$translated" != "0" ] && ([ "$$domain" != "po/doc" ] || [ "$$translated" -gt $$(($$total/10)) ] || [ -f $$target ]); then \ | |
45549e9f JL |
1129 | msgfilter --no-wrap -i "$$po" cat > "$$po".tmp; \ |
1130 | mv "$$po".tmp "$$target"; \ | |
1131 | echo "copied $$target."; \ | |
1132 | else \ | |
ff194cb2 | 1133 | echo "WARN: $$target ($$translated translated messages ($$((translated/total*100))%)) was not added/updated."; \ |
45549e9f JL |
1134 | fi; \ |
1135 | done; \ | |
1136 | done; \ | |
ff194cb2 JL |
1137 | for po in po/doc/*.po; do \ |
1138 | translated=$$(LANG=en_US.UTF-8 msgfmt --statistics "$$po" 2>&1 | cut -f1 -d' '); \ | |
1139 | untranslated=$$(LANG=en_US.UTF-8 msgfmt --statistics "$$po" 2>&1 | rev | cut -f3 -d' ' | rev); \ | |
1140 | untranslated=$${untranslated:-0}; \ | |
1141 | total=$$(($$translated + $$untranslated)); \ | |
1142 | if [ "$$translated" -lt "$$(($$total/20))" ]; then \ | |
1143 | echo "WARN: $$po was removed because it is below the 5% threshold: $$((translated/total*100))%"; \ | |
1144 | rm $$po; \ | |
1145 | fi; \ | |
1146 | done; \ | |
45549e9f | 1147 | rm -rf "$$dir" |
61a224ad LC |
1148 | .PHONY: download-po |
1149 | ||
8c3d8894 ML |
1150 | ## -------------- ## |
1151 | ## Silent rules. ## | |
1152 | ## -------------- ## | |
1153 | ||
1154 | AM_V_DL = $(AM_V_DL_$(V)) | |
1155 | AM_V_DL_ = $(AM_V_DL_$(AM_DEFAULT_VERBOSITY)) | |
1156 | AM_V_DL_0 = @echo " DL " $@; | |
4c48878d ML |
1157 | |
1158 | AM_V_DOT = $(AM_V_DOT_$(V)) | |
1159 | AM_V_DOT_ = $(AM_V_DOT_$(AM_DEFAULT_VERBOSITY)) | |
1160 | AM_V_DOT_0 = @echo " DOT " $@; | |
71ed439b | 1161 | |
8dddedf7 ML |
1162 | AM_V_HELP2MAN = $(AM_V_HELP2MAN_$(V)) |
1163 | AM_V_HELP2MAN_ = $(AM_V_HELP2MAN_$(AM_DEFAULT_VERBOSITY)) | |
1164 | AM_V_HELP2MAN_0 = @echo " HELP2MAN" $@; | |
b9fe8fd6 JL |
1165 | |
1166 | AM_V_PO4A = $(AM_V_PO4A_$(V)) | |
1167 | AM_V_PO4A_ = $(AM_V_PO4A_$(AM_DEFAULT_VERBOSITY)) | |
1168 | AM_V_PO4A_0 = @echo " PO4A" $@; | |
06c4778a LC |
1169 | |
1170 | AM_V_POXREF = $(AM_V_POXREF_$(V)) | |
1171 | AM_V_POXREF_ = $(AM_V_POXREF_$(AM_DEFAULT_VERBOSITY)) | |
1172 | AM_V_POXREF_0 = @echo " POXREF" $@; |