summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-03-23 16:12:25 (GMT)
committerSteven Knight <knight@baldmt.com>2002-03-23 16:12:25 (GMT)
commit2fa424ece5fd4df18a3aeff1f6e59e2ecb41a28e (patch)
tree0fcb31652e4bf56a98d354125deccc5293ffa6f7 /doc
parent2b87cbae264462efe494aa7ee07841ffb7ebaa0d (diff)
downloadSCons-2fa424ece5fd4df18a3aeff1f6e59e2ecb41a28e.zip
SCons-2fa424ece5fd4df18a3aeff1f6e59e2ecb41a28e.tar.gz
SCons-2fa424ece5fd4df18a3aeff1f6e59e2ecb41a28e.tar.bz2
Support the build of TeX documents (Task 47116). (Steve Leblanc)
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.123
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 16c5e6b..cee4e65 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -639,6 +639,19 @@ if it is not already present. Example:
env.CXXFile(target = 'foo.cc', source = 'foo.ll') # builds foo.cc
env.CXXFile(target = 'bar', source = 'bar.yy') # builds bar.cc
.EE
+
+.IP DVI
+Builds a .dvi file from a .tex, .ltx or .latex input file.
+The suffix specified by the $DVISUFFIX construction variable
+(.dvi by default)
+is automatically added to the target
+if it is not already present. Example:
+
+.ES
+env.DVI(target = 'aaa.dvi', source = 'aaa.tex') # builds from aaa.tex
+env.DVI(target = 'bbb', source = 'bbb.ltx') # builds bbb.dvi
+env.DVI(target = 'ccc.dvi', source = 'ccc.latex') # builds from ccc.latex
+.EE
.LP
C/C++ source files are automatically scanned for dependencies by
.B scons
@@ -744,6 +757,16 @@ env.InstallAs(target = '../lib/libfoo.a ../lib/libbar.a',
.EE
.TP
+.RI Precious( target ", ...)"
+Marks each given
+.I target
+as precious so it is not deleted before it is rebuilt. Normally
+.B scons
+deletes a target before building it.
+Multiple targets can be passed in to a single call to
+.BR Precious ().
+
+.TP
.RI Update( key = val ", [...])"
Updates the contents of an environment
with the specified keyword arguments.