sees.hook
author amit@thunder
Mon, 12 Apr 2010 04:08:23 +0530
changeset 48 c9990f63505d
parent 47 e50530e32ac0
permissions -rwxr-xr-x
Library for docbook conversion taken from docutils sandbox ... patches done on it by me
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41
e54725be4df6 Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents: 38
diff changeset
     1
repo_scripts="/home/hg/repos/SEES-hacks/SEESenv/scripts"
32
de7ac08f237b Commiting a simple hook to do the auto build job
amit@thunder
parents:
diff changeset
     2
temp_dir="/home/hg/repos/SEES-hacks"
42
1f61ee485958 Added hgignore and deleted the html files as they do not need to be tracked by hg now
amit@thunder
parents: 41
diff changeset
     3
repo="/home/hg/repos/test_review/sttp/"
43
134b87b382f5 Made changes so that the files so that files above chapter 10 do not come twice also changed the name so that any chapter beyond 9 is listed in the end
amit@thunder
parents: 42
diff changeset
     4
html_folder="/home/hg/repos/SEES-hacks/SEESenv/web/html/"
41
e54725be4df6 Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents: 38
diff changeset
     5
mkdir $temp_dir/temp 
e54725be4df6 Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents: 38
diff changeset
     6
python $repo_scripts/myrst2xml.py $repo
47
e50530e32ac0 changes reflect the change in rst2docbook.py
amit@thunder
parents: 43
diff changeset
     7
python $repo_scripts/rst2docbook.py $repo 
41
e54725be4df6 Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents: 38
diff changeset
     8
python $repo_scripts/autoid.py $temp_dir/temp 
e54725be4df6 Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents: 38
diff changeset
     9
python $repo_scripts/docbook2html.py $temp_dir/temp 
e54725be4df6 Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents: 38
diff changeset
    10
python $repo_scripts/finalhtml.py $temp_dir/temp 
e54725be4df6 Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents: 38
diff changeset
    11
python $repo_scripts/changenames.py $temp_dir/temp 
43
134b87b382f5 Made changes so that the files so that files above chapter 10 do not come twice also changed the name so that any chapter beyond 9 is listed in the end
amit@thunder
parents: 42
diff changeset
    12
rm -r $html_folder/*.html
134b87b382f5 Made changes so that the files so that files above chapter 10 do not come twice also changed the name so that any chapter beyond 9 is listed in the end
amit@thunder
parents: 42
diff changeset
    13
cp $temp_dir/temp/*.html $html_folder
41
e54725be4df6 Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents: 38
diff changeset
    14
cp $temp_dir/temp/p_list.py /home/hg/repos/SEES-hacks/SEESenv/web/hgbook/comments/
32
de7ac08f237b Commiting a simple hook to do the auto build job
amit@thunder
parents:
diff changeset
    15