d7f311e25c
in boxier tabs, but you can customize as desired. Fix plastic box types when drawing larger boxes that would default to the color (without any adjustment). Don't need to build fluid files anymore for source distro - visual C projects now create them as needed. Changelog update. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
63 lines
1.1 KiB
Bash
Executable File
63 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# makedist - make a distribution of FLTK.
|
|
#
|
|
|
|
echo "Getting distribution..."
|
|
|
|
CVS_RSH=ssh1; export CVS_RSH
|
|
MAINTAINER=easysw
|
|
|
|
cd /tmp
|
|
cvs -q -d$MAINTAINER@cvs.fltk.sourceforge.net:/cvsroot/fltk get -r v1_1 fltk
|
|
|
|
if test $# = 0; then
|
|
echo -n "Version number for distribution? "
|
|
read version
|
|
else
|
|
version=$1
|
|
fi
|
|
|
|
rm -rf fltk-$version
|
|
mv fltk fltk-$version
|
|
cd fltk-$version
|
|
|
|
if test x$version != snapshot; then
|
|
echo "Tagging release..."
|
|
|
|
tag=`echo v$version | tr '.' '_'`
|
|
|
|
cvs tag -F $tag
|
|
fi
|
|
|
|
echo "Making configuration script..."
|
|
|
|
autoconf
|
|
|
|
echo "Removing CVS directories..."
|
|
|
|
rm -rf CVS */CVS */*/CVS
|
|
rm -rf OpenGL config forms gl glut images packages themes
|
|
rm makesrcdist
|
|
|
|
cd ..
|
|
|
|
echo "Making UNIX distribution..."
|
|
|
|
cd ..
|
|
gtar czf fltk-$version-source.tar.gz fltk-$version
|
|
|
|
echo "Making BZ2 distribution..."
|
|
gunzip -c fltk-$version-source.tar.gz | bzip2 -v9 >fltk-$version-source.tar.bz2
|
|
|
|
echo "Making Windows distribution..."
|
|
|
|
rm -f fltk-$version-source.zip
|
|
zip -r9 fltk-$version-source.zip fltk-$version
|
|
|
|
echo "Removing distribution directory..."
|
|
|
|
rm -rf fltk-$version
|
|
|
|
echo "Done\!"
|