summaryrefslogtreecommitdiffstats
path: root/doc/user/parseconfig.xml
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-01-13 02:08:38 (GMT)
committerSteven Knight <knight@baldmt.com>2010-01-13 02:08:38 (GMT)
commitfdc4349e8a1ab1a8c89d5bdc30c3c97fdcdbaef8 (patch)
tree429c9443890a948afa18c93ddd9497b8c2d455c7 /doc/user/parseconfig.xml
parent5580a9f84b3cb845bf823f00b4ec465524022717 (diff)
downloadSCons-fdc4349e8a1ab1a8c89d5bdc30c3c97fdcdbaef8.zip
SCons-fdc4349e8a1ab1a8c89d5bdc30c3c97fdcdbaef8.tar.gz
SCons-fdc4349e8a1ab1a8c89d5bdc30c3c97fdcdbaef8.tar.bz2
Capture the previous output from "pkg-config x11" in a static
screen section. Ubuntu Karmic changed the X11 package config so it no longer prints a -I option, and this is just an example anyway.
Diffstat (limited to 'doc/user/parseconfig.xml')
-rw-r--r--doc/user/parseconfig.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/user/parseconfig.xml b/doc/user/parseconfig.xml
index 46bd4dc..3613d77 100644
--- a/doc/user/parseconfig.xml
+++ b/doc/user/parseconfig.xml
@@ -76,6 +76,17 @@
</para>
+ <!--
+ This is how we used to generate the screen output below, but
+ as of (at least) Ubuntu Karmic, the pkg-config output for x11
+ no longer reports back an include directory. Since this is just
+ for example anyway, we're just hard-coding the output.
+
+ <scons_output example="ParseConfig1">
+ <scons_output_command>scons -Q</scons_output_command>
+ </scons_output>
+ -->
+
<screen>
% <userinput>scons -Q</userinput>
['/lib/compat', '/usr/X11/include']
@@ -107,6 +118,17 @@
print env['CPPPATH']
</programlisting>
+ <!--
+ This is how we used to generate the screen output below, but
+ as of (at least) Ubuntu Karmic, the pkg-config output for x11
+ no longer reports back an include directory. Since this is just
+ for example anyway, we're just hard-coding the output.
+
+ <scons_output example="ParseConfig2">
+ <scons_output_command>scons -Q</scons_output_command>
+ </scons_output>
+ -->
+
<screen>
% <userinput>scons -Q</userinput>
['/usr/X11/include']