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
/tr> 2019-08-31nls: Update 'es' translation of the manual.Julien Lepiller 2019-08-29Merge branch 'master' into core-updatesMark H Weaver 2019-08-25nls: Update 'sv' translation.Ludovic Courtès 2019-08-25nls: Update 'de' translation.Ludovic Courtès 2019-08-25nls: Update 'fr' translation.Ludovic Courtès 2019-07-17Merge branch 'master' into core-updatesLudovic Courtès 2019-07-15lint: Move the linting code to a different module....Christopher Baines 2019-07-15derivations: Deprecate the previous calling convention....Ludovic Courtès 2019-07-12Merge branch 'master' into core-updates...Marius Bakke 2019-07-06Add 'guix deploy'....Jakob L. Kreuze 2019-07-06gnu: Add machine type for deployment specifications....Jakob L. Kreuze 2019-06-17utils: Add 'invoke/quiet'....Ludovic Courtès 2019-06-14gnu: bootstrap: Download the bootstrap bash, mkdir, tar, and xz binaries....Ludovic Courtès 2019-06-13Reinstate "nls: Update 'de' translation of the manual."...Ludovic Courtès 2019-06-10Revert "nls: Update 'de' translation of the manual."...Ricardo Wurmus 2019-06-07nls: Update 'de' translation of the manual.Ludovic Courtès