diff -r ef147a79b098 -r e54725be4df6 SEESenv/scripts/docbook2html.py --- a/SEESenv/scripts/docbook2html.py Mon Mar 01 15:23:42 2010 +0530 +++ b/SEESenv/scripts/docbook2html.py Tue Mar 02 17:07:14 2010 +0530 @@ -1,8 +1,12 @@ import glob, os, re, sys import subprocess import time +import sys +repo=sys.argv[1] + xsl_loc='/home/hg/repos/SEES-hacks/SEESenv/scripts/' -names = glob.glob('/home/hg/repos/SEES-hacks/temp/ch*.docbook') + +names = glob.glob(os.path.join(repo,'ch*.docbook')) for name in names: # command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0]) command="xsltproc %shtml-single.xsl %s > %s.html" %(xsl_loc, name ,name.split('.')[0])