0298501719
git-svn-id: file:///fltk/svn/fltk/trunk@405 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
37 lines
625 B
Bash
Executable File
37 lines
625 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# makedist - make a digital unix distribution.
|
|
#
|
|
|
|
rm -rf fltk-1.0-dunix
|
|
mkdir fltk-1.0-dunix
|
|
|
|
rm -rf usr
|
|
mkdir usr
|
|
|
|
ln -sf ../../../lib usr
|
|
|
|
ln -sf ../../../documentation usr/info
|
|
|
|
mkdir usr/include
|
|
mkdir usr/include/FL
|
|
ln -sf FL usr/include/Fl
|
|
cd usr/include/FL
|
|
ln -s ../../../../../FL/*.[hH] .
|
|
for file in *.H; do
|
|
ln -s $file `basename $file .H`.h
|
|
done
|
|
|
|
kits fltk.key ../.. fltk-1.0-dunix
|
|
|
|
echo "Archiving distribution..."
|
|
|
|
tar cf fltk-1.0-dunix.tar fltk-1.0-dunix
|
|
|
|
echo "Compressing distribution..."
|
|
gzip -9 fltk-1.0-dunix.tar
|
|
|
|
echo "Removing temporary distribution files..."
|
|
rm -rf fltk-1.0-dunix
|
|
rm -rf usr
|