CMUCL commit: intl-branch src/tools (make-extra-dist.sh)

Raymond Toy rtoy at common-lisp.net
Mon Feb 8 21:52:03 CET 2010


    Date: Monday, February 8, 2010 @ 15:52:03
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/tools
     Tag: intl-branch

Modified: make-extra-dist.sh

Install locale data.


--------------------+
 make-extra-dist.sh |   14 ++++++++++++++
 1 file changed, 14 insertions(+)


Index: src/tools/make-extra-dist.sh
diff -u src/tools/make-extra-dist.sh:1.9 src/tools/make-extra-dist.sh:1.9.10.1
--- src/tools/make-extra-dist.sh:1.9	Tue Aug 18 09:12:42 2009
+++ src/tools/make-extra-dist.sh	Mon Feb  8 15:52:03 2010
@@ -106,6 +106,20 @@
     install ${GROUP} ${OWNER} -m 0644 src/contrib/$f $DESTDIR/lib/cmucl/lib/contrib/$DIR
 done
 
+# Install all the locale data.
+#set -x
+for d in `(cd src/i18n/; find locale -type d -print | grep -v CVS)`
+do
+    install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/lib/cmucl/lib/$d
+done
+
+for f in `(cd src/i18n; find locale -type f -print | grep -v 'CVS\|~.*~\|.*~')`
+do
+    FILE=`basename $f`
+    DIR=`dirname $f`
+    install ${GROUP} ${OWNER} -m 0644 src/i18n/$f $DESTDIR/lib/cmucl/lib/$DIR
+done
+
 if [ -z "$INSTALL_DIR" ]; then
     sync ; sleep 1 ; sync ; sleep 1 ; sync
     echo Tarring extra components



More information about the cmucl-commit mailing list