mirror of
git://git.sv.gnu.org/autoconf
synced 2025-04-12 15:20:26 +08:00
build-aux/test-build-guix, goes with the top level manifest.scm. See the top of the file for usage instructions.
31 lines
612 B
Bash
Executable File
31 lines
612 B
Bash
Executable File
#! /bin/sh
|
|
|
|
# From a pristine Git checkout, run
|
|
# guix shell --container --manifest=manifest.scm -- build-aux/test-build-guix
|
|
# to perform a complete bootstrap and test build of Autoconf.
|
|
|
|
set -ex
|
|
|
|
# Guix bug? /bin/sh is usually *not* the shell specified in the manifest.
|
|
SHELL="$(command -v sh)"
|
|
export SHELL
|
|
if [ "$(realpath /bin/sh)" != "$(realpath "$SHELL")" ]; then
|
|
(
|
|
cd /bin
|
|
rm sh
|
|
ln -s "$SHELL" sh
|
|
)
|
|
exec "$SHELL" "$0" "$@"
|
|
fi
|
|
|
|
./bootstrap
|
|
if [ -d _build ]; then
|
|
rm -rf _build/*
|
|
else
|
|
mkdir _build
|
|
fi
|
|
cd _build
|
|
../configure
|
|
make all info pdf dvi
|
|
make distcheck
|