fltk/packages/solaris-sparc/makedist.sh
Michael R Sweet 82eb2381e6 Updates for 1.0.4.
Added changes to event documentation for FL_DRAG and FL_KEYBOARD.

Added WIN32 stuff to Cosmo/Optimizer example code.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-06-12 13:53:34 +00:00

32 lines
694 B
Bash
Executable File

#!/bin/sh
#
# makedist - make a solaris sparc distribution.
#
rm -rf fltk
echo "Making distribution..."
cd ../..
#
# Create a dummy prototype file with the full path for the pkginfo file;
# this is a bug in Solaris' pkgmk program...
#
cwd=`pwd`
echo "i pkginfo=$cwd/packages/solaris-sparc/fltk.pkginfo" >fltk.prototype
cat packages/solaris-sparc/fltk.prototype >>fltk.prototype
pkgmk -d packages/solaris-sparc -b $cwd -f fltk.prototype fltk
rm fltk.prototype
cd packages/solaris-sparc
echo "Packing distribution..."
pkgtrans -s . fltk-1.0.4-solaris-sparc.pkg fltk
rm -rf fltk
echo "Compressing distribution..."
rm -f fltk-1.0.4-solaris-sparc.pkg.gz
gzip -9 fltk-1.0.4-solaris-sparc.pkg