| | #!/bin/sh |
---|
| | # Build a release of tconfpy |
---|
| | # $Id: mktconfpy,v 1.105 2004/04/05 08:47:00 tundra Exp $ |
---|
| | # $Id: mktconfpy,v 1.106 2004/04/05 08:51:17 tundra Exp $ |
---|
| | |
---|
| | COLOR= |
---|
| | #COLOR=--color |
---|
| | PROGFILE="tconfpy.py" |
---|
| |
---|
| | test-tc.html test-tc.ps test-tc.pdf test-tc.py.ps test-tc.txt" |
---|
| | |
---|
| | # Check Command Line Args |
---|
| | |
---|
| | DIR="tconfpy-"$1 |
---|
| | DIR="py-tconfpy-"$1 |
---|
| | |
---|
| | if [ $# -ne 1 ] |
---|
| | then |
---|
| | echo "usage: mktconfpy version-number" |
---|
| |
---|
| | mv $PROGFILE $SUPPFILES $DOCFILES $DIR |
---|
| | mv *.gz $DIR |
---|
| | rlog $PROGFILE >$DIR/CHANGELOG.txt |
---|
| | flip -vm $DIR/*txt |
---|
| | tar -czvf py-$DIR.tar.gz py-$DIR |
---|
| | |
---|
| | tar -czvf $DIR.tar.gz $DIR |
---|
| | mv $DIR.tar.gz Releases |
---|
| | |
---|
| | # Remove Working Directory |
---|
| | rm -rf $DIR |
---|
| | |