aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-23 23:20:26 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-23 23:59:23 +0200
commit62bc3c5b04d43ccd24922e45b79fab00f7298e10 (patch)
treef45962c920fe9f5b80e6457f94f0875831b56116 /configure.ac
parentd9e83f2a6460d9716b5dc93cf61ac120c10f6906 (diff)
downloadguix-62bc3c5b04d43ccd24922e45b79fab00f7298e10.tar
guix-62bc3c5b04d43ccd24922e45b79fab00f7298e10.tar.gz
build: Don't build man pages when cross-compiling.
* configure.ac: Define 'CROSS_COMPILING' Automake conditional. * doc/local.mk (dist_man1_MANS): Wrap in "if !CROSS_COMPILING".
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6a6a020585..a44a605dc0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,8 @@ AM_GNU_GETTEXT_VERSION([0.18.1])
GUIX_SYSTEM_TYPE
GUIX_ASSERT_SUPPORTED_SYSTEM
+AM_CONDITIONAL([CROSS_COMPILING], [test "x$cross_compiling" = "xyes"])
+
AC_ARG_WITH(store-dir,
AC_HELP_STRING([--with-store-dir=PATH],
[file name of the store (defaults to /gnu/store)]),