#!/bin/sh
# Create a zip file containing the Mathomatic source distribution with no object files.
# The current directory must be the Mathomatic source tree for this to work.

rm -f ~/am.zip
rm -f */*.o */*.pyc
echo Mathomatic development source code version `cat VERSION`+ \
| zip -rqz ~/am.zip *.c *.h makefile* compile* *.txt VERSION AUTHORS COPYING mathomatic.* zipsrc doc primes tests lib factorial m4 hard_stuff \
&& echo ~/am.zip created.
