Newer
Older
mailfmt / mkmailfmt
  1. #!/bin/sh
  2. # $Id: mkmailfmt,v 1.3 2012/06/09 17:42:01 tundra Exp $
  3.  
  4. RFILES="mailfmt"
  5. FILES="Makefile mailfmt.1 mailfmt.txt mailfmt-license.txt"
  6.  
  7. DIR="mailfmt-"$1
  8.  
  9. if [ $# -ne 1 ]
  10. then
  11. echo "usage: mkmailfmt version-number"
  12. exit
  13. fi
  14.  
  15. mkdir $DIR
  16. co -r$1 $RFILES
  17. co $FILES
  18. gzip *.1
  19. mv $RFILES $FILES $DIR
  20. mv *.gz $DIR
  21. cvs log mailfmt >$DIR/CHANGELOG.mailfmt
  22. tar -czvf $DIR.tar.gz $DIR
  23. rm -rf $DIR
  24. mv $DIR.tar.gz Releases
  25.  
  26.