7
outdir=/guest/xpce/$version
8
libout=$outdir/xpcelib.tgz
9
binout=$outdir/xpce-$arch.tgz
11
emulator="./bin/xpce$RTSUFFIX"
13
xpcelib=./bin/XPCE$RTSUFFIX.a
15
if [ ! -d $outdir ]; then
19
for d in library boot include; do
21
(cd pl; ln -s ../../pl/$d .)
24
rm -f $emulator $crt0 $xpcelib
25
(cd bin; ln -s ../pl/src/`basename $emulator` .)
26
(cd bin; ln -s ../pl/src/`basename $crt0` .)
27
(cd bin; ln -s ../src/`basename $xpcelib` .)
31
libdirs="./CXX ./bitmaps ./include ./man/reference ./pl ./postscript ./prolog"
34
if [ ! "o$1" = "o-q" ]; then
36
echo -n "Collecting distribution files "
37
for d in `find $libdirs -name CVS -type d -print`; do
40
awk -F/ '{printf("%s/%s\n", "'$dir'", $2)}' $dir/CVS/Entries >> libfiles
42
cat >> libfiles << EOF
56
./prolog/lib/man/classification.obj
61
grep -v src/msw/ libfiles | \
62
grep -v prolog/pwboot | \
64
sed "s@^\./@xpce-$version/@" > tapefiles.lib
74
sed "s@^\./@xpce-$version/@" binfiles > tapefiles.bin
77
ln -s xpce xpce-$version
78
tar chvfT - xpce/tapefiles.lib | $compress > $libout
79
tar chvfT - xpce/tapefiles.bin | $compress > $binout