fltk/packages/hpux/makedist.sh
Michael R Sweet a5778a1864 Updated README and distribution packages to use v1.0.1.
Updated makefiles and makeincludes to use DSONAME and GLDLIBS.

Updated configure.in to use DSONAME instead of LIBNAME.

Updated editor example code in documentation.

Added ANSI C++ changes to make things compile with the latest EGCS
compiler.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 15:26:44 +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.1-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.1-hpux.depot.gz
gzip -9 fltk-1.0.1-hpux.depot