Making changes for an automatic build so writing paths according to server
authoramit@thunder
Thu, 25 Feb 2010 17:06:32 +0530
changeset 29 5ce5b22a9a0b
parent 28 514098969b11
child 30 f66b0a5ebf40
Making changes for an automatic build so writing paths according to server
SEESenv/scripts/docbook2html.py
SEESenv/scripts/finalhtml.py
--- a/SEESenv/scripts/docbook2html.py	Thu Feb 25 00:45:20 2010 +0530
+++ b/SEESenv/scripts/docbook2html.py	Thu Feb 25 17:06:32 2010 +0530
@@ -1,7 +1,7 @@
 import glob, os, re, sys
 import subprocess
 import time
-names = glob.glob('ch*.docbook')
+names = glob.glob('/home/hg/repos/SEES-hacks/temp/ch*.docbook')
 for name in names:
 	command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0])
 	print command	
--- a/SEESenv/scripts/finalhtml.py	Thu Feb 25 00:45:20 2010 +0530
+++ b/SEESenv/scripts/finalhtml.py	Thu Feb 25 17:06:32 2010 +0530
@@ -4,7 +4,7 @@
 import os
 from BeautifulSoup import BeautifulSoup
 import time
-repo='/home/amit/testdocbook2/'
+temp_dir='/home/hg/repos/SEES-hacks/'
 
 
 def finalchanges(file_name,html_string):