Simplified and works.

This commit is contained in:
Ray 2009-01-30 22:57:34 -05:00
parent 12bc4dc817
commit 61259b6129

View File

@ -15,23 +15,23 @@
#In the "official" distribution you can find the license in #In the "official" distribution you can find the license in
#agpl-3.0.txt in the docs folder of the package. #agpl-3.0.txt in the docs folder of the package.
#get rid of extraneous stuff
rm regression-test/*.found.txt rm regression-test/*.found.txt
rm regression-test/*.pyc rm regression-test/*.pyc
rm pyfpdb/*.pyc rm pyfpdb/*.pyc
mkdir fpdb-$1 # make the fpdb_$1.zip file for windows
cp -R docs fpdb-$1/ echo "*** making zip file"
cp -R packaging fpdb-$1/ zip -r ../fpdb_$1.zip docs
cp -R pyfpdb fpdb-$1/ zip -r ../fpdb_$1.zip ignore-me_perl6
#rm fpdb-$1/pyfpdb/HUD_config.* zip -r ../fpdb_$1.zip packaging
cp pyfpdb/HUD_config.xml.example fpdb-$1/pyfpdb/HUD_config.xml zip -r ../fpdb_$1.zip pyfpdb
cp -R regression-test fpdb-$1/ zip -r ../fpdb_$1.zip regression-test
cp -R utils fpdb-$1/ zip -r ../fpdb_$1.zip utils
zip -r ../fpdb_$1.zip website
# now make the fpdb_$1.tar.bz2 file for linux
echo "*** making tar.bz2 file"
tar --recursion -cjf ../fpdb_$1.tar.bz2 *
cd fpdb-$1
zip * releases/fpdb_$1 *
#tar -cf - * | bzip2 >> releases/fpdb_$1.tar.bz2
#cd ..
#rm -r fpdb-$1
#echo "Please ensure the files are named fpdb-1.0_alpha*_p*.*"