Author: bugman Date: Sat Jan 22 22:20:22 2011 New Revision: 12435 URL: http://svn.gna.org/viewcvs/relax?rev=12435&view=rev Log: Created the dir var for storing the target directory. Modified: 1.3/scons/manuals.py Modified: 1.3/scons/manuals.py URL: http://svn.gna.org/viewcvs/relax/1.3/scons/manuals.py?rev=12435&r1=12434&r2=12435&view=diff ============================================================================== --- 1.3/scons/manuals.py (original) +++ 1.3/scons/manuals.py Sat Jan 22 22:20:22 2011 @@ -297,8 +297,11 @@ base_dir = getcwd() chdir(env['LATEX_DIR']) + # The target directory. + dir = path.pardir + path.sep + "html" + # Run the latex2html command. - cmd = "latex2html -no_math -address http://nmr-relax.com -local_icons -html_version 4.0 -long_titles 5 -split 4 -dir %s -auto_navigation --external_file relax.aux -antialias relax.tex" % (path.pardir + path.sep + "html") + cmd = "latex2html -no_math -address http://nmr-relax.com -local_icons -html_version 4.0 -long_titles 5 -split 4 -dir %s -auto_navigation --external_file relax.aux -antialias relax.tex" % (dir) print("Running the command:\n$ %s\n\n\n" % cmd) system(cmd)