SEESenv/scripts/docbook2html.py
author amit@thunder
Sat, 27 Feb 2010 00:10:28 +0530
changeset 32 de7ac08f237b
parent 29 5ce5b22a9a0b
child 34 18b34db550ec
permissions -rw-r--r--
Commiting a simple hook to do the auto build job

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])
    command="xsltproc %shtml-single.xsl %s > %s.html" %(xsl_loc, name ,name.split('.')[0])

	print command	
	subprocess.Popen(command,shell=True)
	time.sleep(10)