/[cmucl]/src/tools/make-extra-dist.sh
ViewVC logotype

Diff of /src/tools/make-extra-dist.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4.18.4 by rtoy, Fri Apr 17 20:55:17 2009 UTC revision 1.14 by rtoy, Sat Sep 25 18:47:33 2010 UTC
# Line 26  then Line 26  then
26          exit 2          exit 2
27  fi  fi
28    
29  DESTDIR=${INSTALL_DIR:-release}  DESTDIR=${INSTALL_DIR:-release-$$}
30  TARGET="`echo $1 | sed 's:/*$::'`"  TARGET="`echo $1 | sed 's:/*$::'`"
31  VERSION=$2  VERSION=$2
32  ARCH=$3  ARCH=$3
# Line 60  install -d ${GROUP} ${OWNER} -m 0755 $DE Line 60  install -d ${GROUP} ${OWNER} -m 0755 $DE
60    
61  install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/lib/cmucl/lib/subsystems  install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/lib/cmucl/lib/subsystems
62    
63    install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/lib/cmucl/lib/contrib
64    
65  for ext in $FASL  for ext in $FASL
66  do  do
67    install ${GROUP} ${OWNER} -m 0644 $TARGET/clx/clx-library.$ext \    install ${GROUP} ${OWNER} -m 0644 $TARGET/clx/clx-library.$ext \
# Line 90  install ${GROUP} ${OWNER} -m 0755 src/he Line 92  install ${GROUP} ${OWNER} -m 0755 src/he
92  install ${GROUP} ${OWNER} -m 0755 $TARGET/motif/server/motifd \  install ${GROUP} ${OWNER} -m 0755 $TARGET/motif/server/motifd \
93          $DESTDIR/lib/cmucl/lib/          $DESTDIR/lib/cmucl/lib/
94    
95    # Install the contrib stuff.  Create the directories and then copy the files.
96    
97    for d in `(cd src; find contrib -type d -print | egrep -v "CVS|asdf|defsystem")`
98    do
99        install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/lib/cmucl/lib/$d
100    done
101    
102    for f in `(cd src/contrib; find . -type f -print | egrep -v "CVS|asdf|defsystem")`
103    do
104        FILE=`basename $f`
105        DIR=`dirname $f`
106        install ${GROUP} ${OWNER} -m 0644 src/contrib/$f $DESTDIR/lib/cmucl/lib/contrib/$DIR
107    done
108    
109    # Install all the locale data.
110    
111    for d in `(cd src/i18n/; find locale -type d -print | egrep -v CVS)`
112    do
113        install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/lib/cmucl/lib/$d
114    done
115    
116    # Install mo files.
117    for f in `(cd $TARGET/i18n; find locale -type f -print | egrep -v 'CVS|~.*~|.*~')`
118    do
119        FILE=`basename $f`
120        DIR=`dirname $f`
121        install ${GROUP} ${OWNER} -m 0644 $TARGET/i18n/$f $DESTDIR/lib/cmucl/lib/$DIR
122    done
123    
124    # Install po files.  (Do we really need to distribute the po files?)
125    #for f in `(cd $TARGET/i18n; find locale -type f -print | egrep -v 'CVS|~.*~|.*~')`
126    #do
127    #    FILE=`basename $f`
128    #    DIR=`dirname $f`
129    #    install ${GROUP} ${OWNER} -m 0644 $TARGET/i18n/$f $DESTDIR/lib/cmucl/lib/$DIR
130    #done
131    
132  if [ -z "$INSTALL_DIR" ]; then  if [ -z "$INSTALL_DIR" ]; then
133      sync ; sleep 1 ; sync ; sleep 1 ; sync      sync ; sleep 1 ; sync ; sleep 1 ; sync
134      echo Tarring extra components      echo Tarring extra components

Legend:
Removed from v.1.4.18.4  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.5