ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/util/cf_sync_doc
Revision: 1.2
Committed: Mon Aug 28 08:49:04 2006 UTC (20 years, 1 month ago) by root
Branch: MAIN
Changes since 1.1: +2 -0 lines
Log Message:
fixed etc.

File Contents

# User Rev Content
1 elmex 1.1 #!/bin/sh
2     : ${CFDEV_ROOT:="./"}
3    
4     if [ ! -e "$CFDEV_ROOT/maps/perl/NPC_Dialogue.pm" ]; then
5     echo "Please make sure you set CFDEV_ROOT correctly!"
6     exit 1
7     fi
8    
9 root 1.2 umask 022
10 elmex 1.1 rm -r /tmp/cfwwwdoc/ 2>/dev/null
11     mkdir /tmp/cfwwwdoc/ /tmp/cfwwwdoc/development/ /tmp/cfwwwdoc/user/ 2>/dev/null
12    
13 root 1.2 pod2text $CFDEV_ROOT/server/doc/events.pod > /tmp/cfwwwdoc/development/events.txt
14 elmex 1.1 pod2text $CFDEV_ROOT/maps/perl/NPC_Dialogue.pm > /tmp/cfwwwdoc/development/NPC_Dialogue.txt
15     pod2text $CFDEV_ROOT/gcrossedit/bin/gce > /tmp/cfwwwdoc/development/gce_manual.txt
16     pod2text $CFDEV_ROOT/CFPlus/pod/skill_help.pod > /tmp/cfwwwdoc/user/skill_help.txt
17     pod2text $CFDEV_ROOT/CFPlus/pod/command_help.pod > /tmp/cfwwwdoc/user/command_help.txt
18    
19     # please don't do --delete, it will delete the .desc files!
20     rsync -avpP /tmp/cfwwwdoc/. ruth:/var/www/cf.schmorp.de/doc/.