Page MenuHomeCode

No OneTemporary

diff --git a/dev/scripts/makedoc b/dev/scripts/makedoc
index a7b645d..260cc43 100755
--- a/dev/scripts/makedoc
+++ b/dev/scripts/makedoc
@@ -1,26 +1,23 @@
#!/bin/sh
#
# Generates the Zed source code documentation
# http://scherzo.dereckson.be/doc/zed
#
#For any debug purpose, the initial command line were:
#phpdoc -d /home/dereckson/dev/zed/zed-repo -dn Zed --title "Zed. The source code to build a world." -s -ric README -o HTML:Smarty:HandS -i apps/,cache/,content/,css/,dev/,doc/ img/,js/,lang/,skins/,includes/Smarty -t /home/wwwroot/dereckson.be/scherzo/doc/zed
#Config
-HG=/usr/local/bin/hg
PHPDOC=/usr/local/bin/phpdoc
-REPO=/home/dereckson/dev/zed/zed-repo
-TARGETDOC=/home/wwwroot/dereckson.be/scherzo/doc/zed
+REPO=/home/dereckson/dev/zed/zed
+TARGETDOC=/var/wwwroot/dereckson.be/scherzo/doc/zed
IGNORES=apps/,cache/compiled/,content/,css/,dev/,doc/,img/,js/,lang/,skins/,includes/Smarty/
#Deletes previous doc
echo Deleting previous documentation...
-rm -f -R $TARGETDOC/*
+rm -f -R "${TARGETDOC:?}/"*
#Make doc
-echo Generating changelog...
-$HG log -R $REPO --style zed > $REPO/CHANGELOG
-#echo Building new documentation...
-$PHPDOC -d $REPO -dn Zed --title "Zed. The source code to build a world." -s -ric README,CHANGELOG -o HTML:Smarty:Zed -i $IGNORES -t $TARGETDOC
+echo Building new documentation...
+$PHPDOC -d $REPO -dn Zed --title "Zed. The source code to build a world." -s -ric README -o HTML:Smarty:Zed -i $IGNORES -t $TARGETDOC

File Metadata

Mime Type
text/x-diff
Expires
Thu, Nov 21, 15:01 (3 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
20863
Default Alt Text
(1 KB)

Event Timeline