Develop and Download Open Source Software

Browse CVS Repository

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

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


Revision 1.3 - (hide annotations) (download) (as text)
Wed Feb 8 12:16:32 2006 UTC (18 years, 2 months ago) by orrisroot
Branch: MAIN
Changes since 1.2: +1 -1 lines
File MIME type: text/x-sh
htdocs/property.dtd: added inverted coodinate attributes in axis element.
copy-manual.sh: fixed manual directry location.

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

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