Changeset 1347 for trunk/doc/SConscript
- Timestamp:
- 04/26/07 14:27:25 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/SConscript
r1259 r1347 4 4 Import( "env") 5 5 myenv = env.Copy() 6 # Maybe someday I can use env.DVI() to execute a re-run.... 6 7 7 if myenv["makedoc"].lower() == 'pdf': 8 dvif = myenv.File("#/userguide.dvi") 9 tmps = [ "userguide.aux", "userguide.log", "userguide.idx", "userguide.dvi"] 10 myenv.Command(dvif,"userguide.tex", 11 ["$LATEX $SOURCE", "$LATEX $SOURCE"]) 12 pdfit = myenv.PDF("#/userguide.pdf", "#/userguide.dvi") 13 myenv.Install("#/doc", pdfit) 14 for f in tmps: 15 myenv.AddPostAction(pdfit, Delete(f)) 16 myenv.AddPostAction(pdfit, Move("doc/userguide.pdf", str(pdfit[0]))) 8 dvif = myenv.File("userguide.tex") 9 pdf = env.PDF(dvif) 17 10 elif myenv["makedoc"].lower() == 'html': 18 11 if os.path.exists("/usr/bin/latex2html"): 19 12 myenv.Command("userguide","userguide.tex", 20 13 "/usr/bin/latex2html -local_icons $TARGET" ) 21 #Return()
Note:
See TracChangeset
for help on using the changeset viewer.