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.1 - (show annotations) (download) (as text)
Thu Jan 13 21:44:32 2005 UTC (19 years, 2 months ago) by orrisroot
Branch: MAIN
File MIME type: text/x-sh
added manual copying script.
added screenshot of property file saving.

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

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