82eb2381e6
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
40 lines
933 B
Bash
Executable File
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.4-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.4-hpux.depot.gz
|
|
gzip -9 fltk-1.0.4-hpux.depot
|
|
|