#!/bin/sh

echo "Making XPlot distribution..."

echo "Refreshing headers."
FLS=`ls -1 *.c *.h | egrep -v '^plot\.'`
header -rk $FLS || exit 1

echo "Version: $1"

# cd ../..
# tar cvzf xplot-$1.tar.gz xplot
# ftp ftp << ENDFTP
#     cd /home/ftp/pub/karel/tounix
#     put xplot-$1.tar.gz
#     put xplot/xplot.README xplot.README
#     quit
# ENDFTP
