#!/bin/bash

cp *.mf source/
cp /home/phan/tex/inputs/testmac.tex texinputs/
cp /home/phan/tex/inputs/mathabx.tex texinputs/
cp /home/phan/tex/inputs/mathabx.sty texinputs/
cp /home/phan/tex/inputs/mathabx.dcl texinputs/
#tex mathtest; dvips mathtest -o;
#pdftex mathtest
tar -cvf mathabx.me.tar mathtest.tex README source texinputs \@distrib \@fulldistrib \@comp \@compile
gzip mathabx.me.tar
rm -f source/*
rm -f texinputs/*
for file in *.ps.gz *.log *~ *.dvi; do
    rm $file
done
