1 rem This script is run from /tags/x.y.z
2 call pod2text -l -w 79 install.pod > INSTALL.txt
3 call pod2text -l -w 79 readme.pod > README.txt
4 call pod2text -l -w 79 vss2svn.pl >> give-exe-help.pl
5 copy vss2svn.pl vss2svn-for-exe.pl
6 perl -i.bak -e "$a=`type give-exe-help.pl`;while(<>){s/## EXE PRECOMPILE HERE/$a/ && $b++;print;last if $b}" vss2svn-for-exe.pl
7 del vss2svn-for-exe.pl.bak
8 perl -e "use Cwd;($d=cwd) =~ s:.*/::;$cmd=qq{perlapp.exe --script vss2svn-for-exe.pl --exe vss2svn-$d.exe --freestanding --force --verbose};system $cmd"
10 perl -e "use Cwd;($d=cwd) =~ s:.*/::;$cmd=qq{wzzip vss2svn-$d.zip CHANGES.txt INSTALL.txt README.txt vss2svn.pl};system $cmd"