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
po/doc?id=d1b18fbb5c119f16d57d08ac4264e10a0a536884'>nls: Update 'fr' translation.Julien Lepiller 2019-05-13nls: Update es translation.Ludovic Courtès 2019-05-13nls: Update de translation.Ludovic Courtès 2019-05-13doc: Add Russian translation....Ludovic Courtès 2019-05-01nls: Revert latest guix-manual.zh_CN changes....Ludovic Courtès 2019-05-01nls: Fix cross-reference syntax error in 'guix-manual.es.po'....Ludovic Courtès 2019-05-01nls: Update manual translations for de, es, fr, and zh_CN.Ludovic Courtès 2019-04-30build: 'guix-manual.*.po' no longer depends on 'guix-manual.pot'....Ludovic Courtès 2019-04-30nls: Remove 'guix-manual.pot'....Ludovic Courtès 2019-04-29maint: Mark 'doc-pot-update' and 'doc-po-update' as phony....Ludovic Courtès 2019-04-27nls: Fix wrong include name....Clément Lassieur 2019-04-27nls: Update 'zh_CN' translation....Julien Lepiller 2019-04-25nls: Update 'es' translation.Julien Lepiller 2019-04-25nls: Update 'de' translation.Julien Lepiller 2019-04-25nls: Update 'fr' translation.Julien Lepiller 2019-04-24nls: Update 'fr' translation of the manual.Julien Lepiller 2019-04-24doc: Add Simplified Chinese translation....Ludovic Courtès 2019-04-24nls: Fix guix-manual.zh_CN.po....Ludovic Courtès 2019-04-24doc: Add zh_CN PO file....Ludovic Courtès 2019-04-23doc: Add Spanish translation....Miguel Ángel Arruga Vivas 2019-04-17nls: Update 'de' translation of the manual.Ludovic Courtès 2019-04-02nls: Update 'de' translation of the manual.Ludovic Courtès 2019-03-12nls: Update 'de' translation of the manual.Julien Lepiller 2019-03-01nls: Update 'fr' translation of the manual.Julien Lepiller 2019-01-28nls: Update 'de' translation of the manual.Ludovic Courtès 2018-12-02nls: Update 'de' translation of the manual.Ludovic Courtès 2018-12-02nls: Update 'fr' translation.Julien Lepiller 2018-11-28nls: Update documentation po and pot with `make dist`....Julien Lepiller 2018-11-01doc: Add German translation....Julien Lepiller 2018-08-26nls: Update 'fr' translation.Julien Lepiller 2018-08-15nls: Update 'fr' translation.Julien Lepiller 2018-06-23nls: Update 'fr' translation.Julien Lepiller 2018-06-13nls: Update 'fr' translation.Julien Lepiller 2018-06-08nls: Update 'fr' translation.Julien Lepiller 2018-06-08doc: Update 'fr' translation.Ludovic Courtès 2018-04-29build: Use only one domain for guix-manual....Julien Lepiller 2018-04-19gnu: doc: Add French documentation....Julien Lepiller 2018-04-19gnu: doc: Allow documentation to be translated....Julien Lepiller