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
358ad74f41a59b177c9961abf49753a7ce3f41a0'>tests: Allow opam test to run without networking....Ludovic Courtès 2021-09-07Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-08-21guix: opam: More flexibility in the importer....Alice BRENON 2021-07-20import: opam: Emit new-style package inputs....Sarah Morgensen 2021-05-28import: opam: Generate license for package....Xinglu Chen 2020-12-08import: opam: Adjust test to latest 'opam->guix-package' changes....Ludovic Courtès 2020-12-08guix: opam: Pass default repository to recursive importer....Julien Lepiller 2020-10-02tests: opam: Test additional syntax....Julien Lepiller 2020-10-02tests: opam: Factorize tests....Julien Lepiller 2020-01-17import: opam: Avoid uses of '@@' in tests....Ludovic Courtès 2019-09-07tests: opam: Fix input type in import test....Julien Lepiller