a5778a1864
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
32 lines
694 B
Bash
Executable File
32 lines
694 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# makedist - make a solaris sparc distribution.
|
|
#
|
|
|
|
rm -rf fltk
|
|
|
|
echo "Making distribution..."
|
|
|
|
cd ../..
|
|
#
|
|
# Create a dummy prototype file with the full path for the pkginfo file;
|
|
# this is a bug in Solaris' pkgmk program...
|
|
#
|
|
|
|
cwd=`pwd`
|
|
echo "i pkginfo=$cwd/packages/solaris-sparc/fltk.pkginfo" >fltk.prototype
|
|
cat packages/solaris-sparc/fltk.prototype >>fltk.prototype
|
|
pkgmk -d packages/solaris-sparc -b $cwd -f fltk.prototype fltk
|
|
rm fltk.prototype
|
|
cd packages/solaris-sparc
|
|
|
|
echo "Packing distribution..."
|
|
|
|
pkgtrans -s . fltk-1.0.1-solaris-sparc.pkg fltk
|
|
rm -rf fltk
|
|
|
|
echo "Compressing distribution..."
|
|
|
|
rm -f fltk-1.0.1-solaris-sparc.pkg.gz
|
|
gzip -9 fltk-1.0.1-solaris-sparc.pkg
|