SEESenv/scripts/docbook2html.py
author amit@thunder
Thu, 25 Feb 2010 17:06:32 +0530
changeset 29 5ce5b22a9a0b
parent 2 52d12eb31c30
child 32 de7ac08f237b
permissions -rw-r--r--
Making changes for an automatic build so writing paths according to server

import glob, os, re, sys
import subprocess
import time
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	
	subprocess.Popen(command,shell=True)
	time.sleep(10)