Develop and Download Open Source Software

Browse CVS Repository

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

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


Revision 1.4 - (show annotations) (download) (as text)
Wed Mar 8 08:58:30 2006 UTC (18 years ago) by orrisroot
Branch: MAIN
CVS Tags: RELEASE_2_0_0, HEAD
Changes since 1.3: +1 -1 lines
File MIME type: text/x-sh
fixed broken links.

1 #!/bin/sh
2
3 DIRNAME=`dirname $0`
4
5 SRC=$DIRNAME/../doc/usersman-ja
6 DST=$DIRNAME/htdocs/manuals
7 SRC_JA=$SRC/html
8 DST_JA=$DST/ja
9 SRC_JA_IMAGES=$SRC_JA/images
10 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
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 if [ ! -d $DST_JA_IMAGES_ETC ]; then
24 mkdir -p $DST_JA_IMAGES_ETC
25 fi
26
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 cp -f $SRC_JA_IMAGES_ETC/*.gif $DST_JA_IMAGES_ETC
35 cd $DIRNAME
36 # cvs update -Pd

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