Changeset 1347 for trunk/doc/SConscript


Ignore:
Timestamp:
04/26/07 14:27:25 (18 years ago)
Author:
mar637
Message:

move to use latex builder; doc updates for 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/SConscript

    r1259 r1347  
    44Import( "env")
    55myenv = env.Copy()
    6 # Maybe someday I can use env.DVI() to execute a re-run....
     6
    77if 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)
    1710elif myenv["makedoc"].lower() == 'html':
    1811    if os.path.exists("/usr/bin/latex2html"):
    1912        myenv.Command("userguide","userguide.tex",
    2013                      "/usr/bin/latex2html -local_icons $TARGET" )
    21 #Return()
Note: See TracChangeset for help on using the changeset viewer.