Develop and Download Open Source Software

Browse CVS Repository

Diff of /samurai-graph/web/copy-manual.sh

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

revision 1.1 by orrisroot, Thu Jan 13 21:44:32 2005 UTC revision 1.2 by orrisroot, Mon Aug 22 22:18:36 2005 UTC
# Line 2  Line 2 
2    
3  DIRNAME=`dirname $0`  DIRNAME=`dirname $0`
4    
5  SRC=$DIRNAME/../doc/usersman  SRC=$DIRNAME/../doc/usersman-ja
6  DST=$DIRNAME/htdocs/manual  DST=$DIRNAME/htdocs/manual
7  SRC_IMAGES=$SRC/images  SRC_JA=$SRC/html
 DST_IMAGES=$DST/images  
 SRC_JA=$SRC/html-ja  
8  DST_JA=$DST/ja  DST_JA=$DST/ja
9  SRC_JA_IMAGES=$SRC_JA/images  SRC_JA_IMAGES=$SRC_JA/images
10  DST_JA_IMAGES=$DST_JA/images  DST_JA_IMAGES=$DST_JA/images
11    SRC_JA_IMAGES_ETC=$SRC_JA_IMAGES/etc
12    DST_JA_IMAGES_ETC=$DST_JA_IMAGES/etc
13    
14  if [ ! -d $DST ]; then  if [ ! -d $DST ]; then
15    mkdir -p  $DST    mkdir -p  $DST
16  fi  fi
 if [ ! -d $DST_IMAGES ]; then  
   mkdir -p  $DST_IMAGES  
 fi  
17  if [ ! -d $DST_JA ]; then  if [ ! -d $DST_JA ]; then
18    mkdir -p  $DST_JA    mkdir -p  $DST_JA
19  fi  fi
20  if [ ! -d $DST_JA_IMAGES ]; then  if [ ! -d $DST_JA_IMAGES ]; then
21    mkdir -p  $DST_JA_IMAGES    mkdir -p  $DST_JA_IMAGES
22  fi  fi
23    if [ ! -d $DST_JA_IMAGES_ETC ]; then
24  cp -f $SRC_IMAGES/*.gif $DST_IMAGES    mkdir -p  $DST_JA_IMAGES_ETC
25    fi
26    
27  if [ ! -d $SRC_JA ]; then  if [ ! -d $SRC_JA ]; then
28    echo "Error : HTML contents of Japanese users manual not found in $SRC_JA"    echo "Error : HTML contents of Japanese users manual not found in $SRC_JA"
# Line 33  fi Line 31  fi
31  cp -f $SRC_JA/*.css  $DST_JA  cp -f $SRC_JA/*.css  $DST_JA
32  cp -f $SRC_JA/*.html $DST_JA  cp -f $SRC_JA/*.html $DST_JA
33  cp -f $SRC_JA_IMAGES/*.gif  $DST_JA_IMAGES  cp -f $SRC_JA_IMAGES/*.gif  $DST_JA_IMAGES
34    cp -f $SRC_JA_IMAGES_ETC/*.gif  $DST_JA_IMAGES_ETC
35  cd $DIRNAME  cd $DIRNAME
36  cvs update -Pd  cvs update -Pd

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26