aboutsummaryrefslogtreecommitdiff
#!/bin/sh
# Create the build system.

set -e -x

# Generate stubs for translations.
langs=`find po/doc -type f -name 'guix-manual*.po' \
        | sed -e 's,.*/guix-manual\.,,;s,\.po$,,'`
for lang in ${langs}; do
    if [ ! -e "doc/guix.${lang}.texi" ]; then
	echo "@setfilename guix.${lang}.info" > "doc/guix.${lang}.texi"
	echo "@include version-${lang}.texi" >> "doc/guix.${lang}.texi"
	# Ensure .po file is newer.
	touch "po/doc/guix-manual.${lang}.po"
    fi
done
langs=`find po/doc -type f -name 'guix-cookbook*.po' \
        | sed -e 's,.*/guix-cookbook\.,,;s,\.po$,,'`
for lang in ${langs}; do
    if [ ! -e "doc/guix-cookbook.${lang}.texi" ]; then
	echo "@setfilename guix-cookbook.${lang}.info" > "doc/guix-cookbook.${lang}.texi"
	# Ensure .po file is newer.
	touch "po/doc/guix-cookbook.${lang}.po"
    fi
done

autoreconf -vfi

# Replace Automake's build-aux/mdate-sh with build-aux/mdate-from-git, our
# own, reproducible version.
chmod +w build-aux/mdate-sh
rm -f build-aux/mdate-sh
ln -s mdate-from-git.scm build-aux/mdate-sh
a287f8eb84cbbfa44629951572408939a756'>pack: Create /tmp in Docker images....Ludovic Courtès 2019-03-24tests: Adjust 'guix pack -f squashfs' test....Ludovic Courtès 2018-11-06store-copy: Canonicalize the mtime and permissions of the store copy....Ludovic Courtès 2018-11-06pack: Add test for 'self-contained-tarball' with localstatedir....Ludovic Courtès 2018-11-06pack: Squashfs backend now honors '--localstatedir'....Ludovic Courtès 2018-11-06pack: Docker backend now honors '--localstatedir'....Ludovic Courtès 2018-11-06pack: Import (guix store database) only when '--localstatedir' is passed....Ludovic Courtès 2018-10-28tests: Fix typo....Ludovic Courtès 2018-10-19tests: Run 'guix pack' tests using the external store....Ludovic Courtès 2018-09-18tests: Skip 'self-contained-tarball' test unconditionally....Ludovic Courtès 2018-06-01pack: Adjust test to expect relative symlinks....Ludovic Courtès 2018-06-01tests: Fix arguments in pack test....Ricardo Wurmus 2017-03-22tests: Skip 'guix pack' test when networking is unavailable....Ludovic Courtès 2017-03-17pack: Move absolute file name to <compressor>....Ludovic Courtès 2017-03-14pack: Add unit test....Ludovic Courtès