release.sh 723 B

12345678910111213141516171819202122232425262728293031
  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 '*~' -o -name '.#*'`
  10. # Generate all the gettext stuff
  11. cd po
  12. ./update.sh
  13. catalogs=`ls *.po`
  14. for cat in $catalogs; do
  15. if [ "$cat" = "dpkg.po" ] ; then continue ; fi
  16. lang=`echo $cat | sed 's/\.po$//'`
  17. msgfmt -o $lang.gmo $cat
  18. done
  19. cd ..
  20. # Kill some obsolete directories found in CVS
  21. rm -rf attic/ doc/obsolete
  22. # Now remove the CVS scripts
  23. rm -f autogen.sh release.sh po/update.sh