| 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 |
|
|
rm -r /tmp/cfwwwdoc/ 2>/dev/null |
| 10 |
|
|
mkdir /tmp/cfwwwdoc/ /tmp/cfwwwdoc/development/ /tmp/cfwwwdoc/user/ 2>/dev/null |
| 11 |
|
|
|
| 12 |
|
|
pod2text $CFDEV_ROOT/maps/perl/NPC_Dialogue.pm > /tmp/cfwwwdoc/development/NPC_Dialogue.txt |
| 13 |
|
|
pod2text $CFDEV_ROOT/gcrossedit/bin/gce > /tmp/cfwwwdoc/development/gce_manual.txt |
| 14 |
|
|
pod2text $CFDEV_ROOT/CFPlus/pod/skill_help.pod > /tmp/cfwwwdoc/user/skill_help.txt |
| 15 |
|
|
pod2text $CFDEV_ROOT/CFPlus/pod/command_help.pod > /tmp/cfwwwdoc/user/command_help.txt |
| 16 |
|
|
|
| 17 |
|
|
# please don't do --delete, it will delete the .desc files! |
| 18 |
|
|
rsync -avpP /tmp/cfwwwdoc/. ruth:/var/www/cf.schmorp.de/doc/. |