fltk/packages/dunix/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

56 lines
1.1 KiB
Bash
Executable File

#!/bin/sh
#
# makedist - make a digital unix distribution.
#
rm -rf fltk-1.0.1-dunix
mkdir fltk-1.0.1-dunix
echo "Building distribution tree..."
rm -rf usr
mkdir usr
mkdir usr/bin
mkdir usr/bin/X11
mkdir usr/include
mkdir usr/include/FL
mkdir usr/info
mkdir usr/info/fltk
mkdir usr/lib
mkdir usr/man
mkdir usr/man/man1
cp ../../fluid/fluid usr/bin/X11
strip usr/bin/X11/fluid
cp ../../lib/libfltk.a usr/lib
cp ../../src/libfltk.so.1 usr/lib
ln -sf libfltk.so.1 usr/lib/libfltk.so
cp ../../documentation/*.html usr/info/fltk
cp ../../documentation/*.gif usr/info/fltk
cp ../../documentation/*.jpg usr/info/fltk
cp ../../documentation/fluid.1 usr/man/man1
ln -sf FL usr/include/Fl
cd usr/include/FL
cp ../../../../../FL/*.[hH] .
for file in *.H; do
ln -s $file `basename $file .H`.h
done
cd ../../..
kits fltk.key . fltk-1.0.1-dunix
echo "Archiving distribution..."
tar cf fltk-1.0.1-dunix.tar fltk-1.0.1-dunix
echo "Compressing distribution..."
rm -f fltk-1.0.1-dunix.tar.gz
gzip -9 fltk-1.0.1-dunix.tar
echo "Removing temporary distribution files..."
rm -rf fltk-1.0.1-dunix
rm -rf usr