fltk/packages/hpux/makedist.sh
Michael R Sweet 2f942e1c4a Updated version numbers to 1.0.3.
Fixed browser bug in item_width() - would read past the end of the string
under certain circumstances.

Fixed browser resize bug - wasn't updating bounding box during check, so
it could get in an infinite loop.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-05-01 15:08:22 +00:00

40 lines
933 B
Bash
Executable File

#!/bin/sh
#
# makedist - make an hp-ux distribution.
#
#
# Since the HP-UX software distribution stuff doesn't directly support
# symbolic links, we have the option of making an installation script that
# creates symbolic links, or include files that are symbolic links in the
# distribution. Since we want this distribution to be relocatable, the
# script method probably won't work and we have to make dummy link files...
#
echo "Making links needed for distribution..."
rm -rf links
mkdir links
for file in `cd ../../FL; ls *.H`; do
ln -sf $file links/`basename $file .H`.h
done
ln -sf FL links/Fl
ln -sf libfltk.sl.1 links/libfltk.sl
cd ../..
/usr/sbin/swpackage -v -s packages/hpux/fltk.info \
-d packages/hpux/fltk-1.0.3-hpux.depot -x write_remote_files=true \
-x target_type=tape fltk
echo "Compressing distribution..."
cd packages/hpux
rm -rf links
rm -f fltk-1.0.3-hpux.depot.gz
gzip -9 fltk-1.0.3-hpux.depot