bootstrap 844 B

12345678910111213141516171819202122232425262728
  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\.,,;s,\.po$,,'`
  7. for lang in ${langs}; do
  8. if [ ! -e "doc/guix.${lang}.texi" ]; then
  9. echo "@setfilename guix.${lang}.info" > "doc/guix.${lang}.texi"
  10. echo "@include version-${lang}.texi" >> "doc/guix.${lang}.texi"
  11. # Ensure .po file is newer.
  12. touch "po/doc/guix-manual.${lang}.po"
  13. fi
  14. done
  15. langs=`find po/doc -type f -name 'guix-cookbook*.po' \
  16. | sed -e 's,.*/guix-cookbook\.,,;s,\.po$,,'`
  17. for lang in ${langs}; do
  18. if [ ! -e "doc/guix-cookbook.${lang}.texi" ]; then
  19. echo "@setfilename guix-cookbook.${lang}.info" > "doc/guix-cookbook.${lang}.texi"
  20. # Ensure .po file is newer.
  21. touch "po/doc/guix-cookbook.${lang}.po"
  22. fi
  23. done
  24. exec autoreconf -vfi