release.sh 613 B

123456789101112131415161718192021222324252627
  1. #!/bin/sh -e
  2. # Wichert: thought this might be useful :) -- Ben
  3. # run the autogen, but make sure we copy everything instead of symlinking
  4. ./autogen.sh --copy
  5. # remove CVS files
  6. rm -rf `find . -name CVS -type d`
  7. rm -f `find . -name .cvsignore -type f`
  8. # Remove any cruft files...
  9. rm -f `find . -name '*.orig' -o -name '*.rej' -o -name '*~'`
  10. # Generate all the gettext stuff
  11. cd po
  12. ./update.sh
  13. catalogs='en.gmo fr.gmo es.gmo ja_JP.ujis.gmo'
  14. for cat in $catalogs; do
  15. lang=`echo $cat | sed 's/\.gmo$//'`
  16. msgfmt -o $cat $lang.po
  17. done
  18. cd ..
  19. # Now remove the CVS scripts
  20. rm -f autogen.sh release.sh po/update.sh