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

Raymond Toy rtoy at common-lisp.net
Fri Feb 12 16:02:06 CET 2010


    Date: Friday, February 12, 2010 @ 10:02:06
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/tools
     Tag: intl-branch

Modified: make-extra-dist.sh

Copy the po files from the src directory, but copy the mo files from
the build (target) directory, since these are now created there.


--------------------+
 make-extra-dist.sh |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)


Index: src/tools/make-extra-dist.sh
diff -u src/tools/make-extra-dist.sh:1.9.10.1 src/tools/make-extra-dist.sh:1.9.10.2
--- src/tools/make-extra-dist.sh:1.9.10.1	Mon Feb  8 15:52:03 2010
+++ src/tools/make-extra-dist.sh	Fri Feb 12 10:02:06 2010
@@ -107,12 +107,21 @@
 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
 
+# Install mo files.
+for f in `(cd $TARGET/i18n; find locale -type f -print | grep -v 'CVS\|~.*~\|.*~')`
+do
+    FILE=`basename $f`
+    DIR=`dirname $f`
+    install ${GROUP} ${OWNER} -m 0644 $TARGET/i18n/$f $DESTDIR/lib/cmucl/lib/$DIR
+done
+
+# Install po files
 for f in `(cd src/i18n; find locale -type f -print | grep -v 'CVS\|~.*~\|.*~')`
 do
     FILE=`basename $f`



More information about the cmucl-commit mailing list