release.sh 758 B

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