bootstrap 906 B

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