gnu: adms: Update to 2.3.7.
[jackhill/guix/guix.git] / bootstrap
CommitLineData
b49ffe2d 1#!/bin/sh
9ac97e83 2# Create the build system.
b49ffe2d
LC
3
4set -e -x
9ca5ff88
MÁAV
5
6# Generate stubs for translations.
7bc46ecc 7langs=`find po/doc -type f -name 'guix-manual*.po' \
9ca5ff88
MÁAV
8 | sed -e 's,guix-manual\.,,' \
9 | xargs -n 1 -I{} basename {} .po`
10for lang in ${langs}; do
11 if [ ! -e "doc/guix.${lang}.texi" ]; then
12 echo "@setfilename guix.${lang}.info" > "doc/guix.${lang}.texi"
13 echo "@include version-${lang}.texi" >> "doc/guix.${lang}.texi"
14 # Ensure .po file is newer.
15 touch "po/doc/guix-manual.${lang}.po"
16 fi
17done
7bc46ecc 18langs=`find po/doc -type f -name 'guix-cookbook*.po' \
3dd311e3 19 | sed -e 's,guix-cookbook\.,,' \
7bc46ecc
RW
20 | xargs -n 1 -I{} basename {} .po`
21for lang in ${langs}; do
22 if [ ! -e "doc/guix-cookbook.${lang}.texi" ]; then
23 echo "@setfilename guix-cookbook.${lang}.info" > "doc/guix-cookbook.${lang}.texi"
24 # Ensure .po file is newer.
25 touch "po/doc/guix-cookbook.${lang}.po"
26 fi
27done
9ca5ff88 28
b49ffe2d 29exec autoreconf -vfi