#!/bin/sh : ${CFDEV_ROOT:="./"} if [ ! -e "$CFDEV_ROOT/maps/perl/NPC_Dialogue.pm" ]; then echo "Please make sure you set CFDEV_ROOT correctly!" exit 1 fi rm -r /tmp/cfwwwdoc/ 2>/dev/null mkdir /tmp/cfwwwdoc/ /tmp/cfwwwdoc/development/ /tmp/cfwwwdoc/user/ 2>/dev/null pod2text $CFDEV_ROOT/maps/perl/NPC_Dialogue.pm > /tmp/cfwwwdoc/development/NPC_Dialogue.txt pod2text $CFDEV_ROOT/gcrossedit/bin/gce > /tmp/cfwwwdoc/development/gce_manual.txt pod2text $CFDEV_ROOT/CFPlus/pod/skill_help.pod > /tmp/cfwwwdoc/user/skill_help.txt pod2text $CFDEV_ROOT/CFPlus/pod/command_help.pod > /tmp/cfwwwdoc/user/command_help.txt # please don't do --delete, it will delete the .desc files! rsync -avpP /tmp/cfwwwdoc/. ruth:/var/www/cf.schmorp.de/doc/.