sees.hook
changeset 43 134b87b382f5
parent 42 1f61ee485958
child 47 e50530e32ac0
--- a/sees.hook	Tue Mar 02 18:49:48 2010 +0530
+++ b/sees.hook	Thu Mar 04 14:33:38 2010 +0530
@@ -1,6 +1,7 @@
 repo_scripts="/home/hg/repos/SEES-hacks/SEESenv/scripts"
 temp_dir="/home/hg/repos/SEES-hacks"
 repo="/home/hg/repos/test_review/sttp/"
+html_folder="/home/hg/repos/SEES-hacks/SEESenv/web/html/"
 mkdir $temp_dir/temp 
 python $repo_scripts/myrst2xml.py $repo
 python $repo_scripts/rst2docbook.py $temp_dir/temp 
@@ -8,6 +9,7 @@
 python $repo_scripts/docbook2html.py $temp_dir/temp 
 python $repo_scripts/finalhtml.py $temp_dir/temp 
 python $repo_scripts/changenames.py $temp_dir/temp 
-cp $temp_dir/temp/*.html /home/hg/repos/SEES-hacks/SEESenv/web/html/
+rm -r $html_folder/*.html
+cp $temp_dir/temp/*.html $html_folder
 cp $temp_dir/temp/p_list.py /home/hg/repos/SEES-hacks/SEESenv/web/hgbook/comments/