summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0/files
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2002-06-05 14:33:37 +0000
committerMartin Blapp <mbr@FreeBSD.org>2002-06-05 14:33:37 +0000
commit6dc9319a76a6ad88aaf32514d518f5cb101350c9 (patch)
treef0963aa8102c4314f9197a536b6841d6bd644fb9 /editors/openoffice-1.0/files
parentI made the mozilla distfiles about 4MB smaller. The includes are always (diff)
Remove \t from usage(). Add the missing obsolete directory as a copy
from nspr/obsolete.
Notes
Notes: svn path=/head/; revision=60650
Diffstat (limited to 'editors/openoffice-1.0/files')
-rw-r--r--editors/openoffice-1.0/files/zipmoz.sh24
1 files changed, 16 insertions, 8 deletions
diff --git a/editors/openoffice-1.0/files/zipmoz.sh b/editors/openoffice-1.0/files/zipmoz.sh
index 878e3d84b030..6b6b199d0bd0 100644
--- a/editors/openoffice-1.0/files/zipmoz.sh
+++ b/editors/openoffice-1.0/files/zipmoz.sh
@@ -17,10 +17,11 @@ if [ $# -lt 2 -o $# -gt 3 ] ; then
echo
echo usage: $0 mozilla_dist target [target_dir]
echo
- echo where
- echo "\tmozilla_dist\tpoints to the mozilla distribution"
- echo "\ttarget\t\tconcatenates OS, compiler and CPU (e.g. WNTMSCI, IRIXGCCM etc)"
- echo "\ttarget_dir\tis the directory to place the zips"
+ echo where:
+ echo
+ echo "mozilla_dist points to the mozilla distribution"
+ echo "target concatenates OS, compiler and CPU (e.g. FREEBSDGCCI etc)"
+ echo "target_dir is the directory to place the zips"
exit 1
fi
@@ -51,6 +52,7 @@ echo --- creating zips for $TARGET, using mozilla distribution in $MOZ_DIST
[ ! -d $TARGET_DIR/$TARGET/lib ] && mkdir -p $TARGET_DIR/$TARGET/lib
[ ! -d $TARGET_DIR/$TARGET/inc ] && mkdir -p $TARGET_DIR/$TARGET/inc
[ ! -d $TARGET_DIR/$TARGET/inc/nspr ] && mkdir -p $TARGET_DIR/$TARGET/inc/nspr
+[ ! -d $TARGET_DIR/$TARGET/inc/obsolete ] && mkdir -p $TARGET_DIR/$TARGET/inc/obsolete
# Copy the files
echo
@@ -73,25 +75,31 @@ for i in $LIB_FILES; do
if [ ! -f $MOZ_DIST/$i ]; then
echo $MOZ_DIST/$i does not exist, check your distribution
else
- cp $MOZ_DIST/$i $TARGET_DIR/$TARGET/lib/
+ cp -R -L $MOZ_DIST/$i $TARGET_DIR/$TARGET/lib/
fi
done
for i in `ls -1 $MOZ_DIST/$INC_FILES`; do
if [ ! -d $i ]; then
- cp -r $MOZ_DIST/include/$i $TARGET_DIR/$TARGET/inc/
+ cp -R -L $MOZ_DIST/include/$i $TARGET_DIR/$TARGET/inc/
fi
done
for i in `ls -1 $MOZ_DIST/$INC_FILES2`; do
if [ ! -d $i ]; then
- cp -R $MOZ_DIST/public/$i $TARGET_DIR/$TARGET/inc
+ cp -R -L $MOZ_DIST/public/$i $TARGET_DIR/$TARGET/inc
fi
done
for i in `ls -1 $MOZ_DIST/$INC_FILES/nspr`; do
if [ ! -d $i ]; then
- cp -R $MOZ_DIST/include/nspr/$i $TARGET_DIR/$TARGET/inc/nspr
+ cp -R -L $MOZ_DIST/include/nspr/$i $TARGET_DIR/$TARGET/inc/nspr
+ fi
+done
+
+for i in `ls -1 $MOZ_DIST/$INC_FILES/nspr/obsolete`; do
+ if [ ! -d $i ]; then
+ cp -R -L $MOZ_DIST/include/nspr/obsolete/$i $TARGET_DIR/$TARGET/inc/obsolete
fi
done