summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap14
1 files changed, 14 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index cb774bc737f..c0b5af7677a 100755
--- a/bootstrap
+++ b/bootstrap
@@ -2,4 +2,18 @@
2# Create the build system. 2# Create the build system.
3 3
4set -e -x 4set -e -x
5
6# Generate stubs for translations.
7langs=`find po/doc -type f -name '*.po' \
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
18
5exec autoreconf -vfi 19exec autoreconf -vfi