diff --git a/mktconfpy b/mktconfpy index eea89ab..a7f6d49 100755 --- a/mktconfpy +++ b/mktconfpy @@ -1,12 +1,13 @@ #!/bin/sh # Build a release of tconfpy -# $Id: mktconfpy,v 1.101 2004/03/13 00:27:40 tundra Exp $ +# $Id: mktconfpy,v 1.102 2004/04/01 00:32:35 tundra Exp $ COLOR= #COLOR=--color PROGFILE="tconfpy.py" -SUPPFILES="Makefile tconfpy.3 tconfpy-license.txt test-tc.py" -DOCFILES="tconfpy.html tconfpy.ps tconfpy.pdf tconfpy.py.ps READ-1ST.txt WHATSNEW.txt tconfpy.txt" +SUPPFILES="Makefile tconfpy.3 tconfpy-license.txt test-tc.py test-tc.1" +DOCFILES="tconfpy.html tconfpy.ps tconfpy.pdf tconfpy.py.ps READ-1ST.txt WHATSNEW.txt tconfpy.txt\ + test-tc.html test-tc.ps test-tc.pdf test-tc.py.ps test-tc.txt" # Check Command Line Args @@ -32,6 +33,7 @@ # Pretty Print The Source Code enscript -Epython -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow $COLOR -ptconfpy.py.ps tconfpy.py +enscript -Epython -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow $COLOR -ptest-tc.py.ps test-tc.py # Build Documentation @@ -39,9 +41,16 @@ groff -man -Tps tconfpy.3 >tconfpy.ps gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=tconfpy.pdf tconfpy.ps groff -man -Tascii tconfpy.3 | col -xb >tconfpy.txt + +rman -fHTML -l tconfpy test-tc.1 > test-tc.html +groff -man -Tps test-tc.1 >test-tc.ps +gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=test-tc.pdf test-tc.ps +groff -man -Tascii test-tc.1 | col -xb >test-tc.txt + chmod 644 $DOCFILES *txt gzip *.1 + # Build And Save The Release mv $PROGFILE $SUPPFILES $DOCFILES $DIR @@ -52,6 +61,6 @@ mv $DIR.tar.gz Releases # Remove Working Directory -rm -rf $DIR +#rm -rf $DIR