This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
2012-12-03 21:43:26 +00:00
|
|
|
#!/bin/sh
|
2014-12-19 22:18:49 +00:00
|
|
|
# Create the build system.
|
2012-12-03 21:43:26 +00:00
|
|
|
|
|
|
|
set -e -x
|
2019-04-23 09:30:32 +00:00
|
|
|
|
|
|
|
# Generate stubs for translations.
|
|
|
|
langs=`find po/doc -type f -name '*.po' \
|
|
|
|
| sed -e 's,guix-manual\.,,' \
|
|
|
|
| xargs -n 1 -I{} basename {} .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
|
|
|
|
|
2012-12-03 21:43:26 +00:00
|
|
|
exec autoreconf -vfi
|