mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
Updated file list and distribution script for HP-UX.
git-svn-id: file:///fltk/svn/fltk/trunk@401 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+344
-351
File diff suppressed because it is too large
Load Diff
@@ -1,13 +1,28 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# makedist - make an irix distribution.
|
# makedist - make an hp-ux distribution.
|
||||||
#
|
#
|
||||||
|
|
||||||
if [ test `uname -r` =~ '5.*' ]; then
|
#
|
||||||
gendist -v -dist . -sbase ../.. -idb fltk5x.list -spec fltk.spec
|
# Since the HP-UX software distribution stuff doesn't directly support
|
||||||
else
|
# symbolic links, we have the option of making an installation script that
|
||||||
gendist -v -dist . -sbase ../.. -idb fltk.list -spec fltk.spec
|
# 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...
|
||||||
|
#
|
||||||
|
|
||||||
|
if [ !-d links ]; then
|
||||||
|
mkdir links
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tar cvf fltk-1.0-irix-`uname -r`.tardist fltk fltk.idb fltk.man fltk.sw
|
for file in `cd ../../FL; ls *.H`; do
|
||||||
|
ln -sf $file links/`basename $file .h`
|
||||||
|
done
|
||||||
|
|
||||||
|
ln -sf FL links/Fl
|
||||||
|
|
||||||
|
cd ../..
|
||||||
|
|
||||||
|
/usr/sbin/swpackage -v -s packages/hpux/fltk.info \
|
||||||
|
-d packages/hpux/fltk-1.0-hpux.depot -x write_remote_files=true \
|
||||||
|
-x target_type=tape fltk
|
||||||
|
|||||||
Reference in New Issue
Block a user