summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-07-02 16:06:39 (GMT)
committerSteven Knight <knight@baldmt.com>2003-07-02 16:06:39 (GMT)
commit6da1c503b48c363638df57e101b7d49316b09025 (patch)
tree9e7d346be67ee64995a10e51d6e607a27ba76bc4 /doc
parent4494c32726f5560df070bd13696272e88babcb3c (diff)
downloadSCons-6da1c503b48c363638df57e101b7d49316b09025.zip
SCons-6da1c503b48c363638df57e101b7d49316b09025.tar.gz
SCons-6da1c503b48c363638df57e101b7d49316b09025.tar.bz2
Make builder prefixes work correctly when deducing a target name from a source file in another directory. Fix a man page bug. Document the yacc -d *.yy fix previously checked in.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.17
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index cdfc7d8..7c93e0e 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -3315,6 +3315,11 @@ to generate a source file.
.IP YACCFLAGS
General options passed to the parser generator.
+If $YACCFLAGS contains a \-d option,
+SCons assumes that the call will also create a .h file
+(if the yacc source file ends in a .y suffix)
+or a .hpp file
+(if the yacc source file ends in a .yy suffix)
.IP ZIP
The zip compression and file packaging utility.
@@ -5549,7 +5554,7 @@ to the BUILDERS construction variable, such as:
.ES
env = Environment()
-env.['BUILDERS]['PDFBuilder'] = bld
+env['BUILDERS]['PDFBuilder'] = bld
.EE
.SS Defining Your Own Scanner Object