diff options
author | Greg Noel <GregNoel@tigris.org> | 2009-02-24 22:47:43 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2009-02-24 22:47:43 (GMT) |
commit | 9f1449d30937b06204d42b87b3b4342d634ccdf1 (patch) | |
tree | a1d751a97fbf1f61b3ab4c37170d8a3cc4c4b152 /doc | |
parent | 230ebc013a9d15ad4e9567866eb42e47a5fe3999 (diff) | |
download | SCons-9f1449d30937b06204d42b87b3b4342d634ccdf1.zip SCons-9f1449d30937b06204d42b87b3b4342d634ccdf1.tar.gz SCons-9f1449d30937b06204d42b87b3b4342d634ccdf1.tar.bz2 |
Issue 2260, document Clean() pattern for intermediate directories
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index f3988f4..240972c 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -3000,6 +3000,14 @@ Clean('dist', env.Program('hello', 'hello.c')) Clean(['foo', 'bar'], 'something_else_to_clean') .EE +In this example, +installing the project creates a subdirectory for the documentation. +This statement causes the subdirectory to be removed +if the project is deinstalled. +.ES +Clean(docdir, os.path.join(docdir, projectname)) +.EE + '\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" .TP .RI Command( target ", " source ", " action ", [" key = val ", ...])" @@ -3513,7 +3521,7 @@ print env.Dump('CCCOM') .IP will print: .ES -\&'$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -c -o $TARGET $SOURCES' +\&'$CC -c -o $TARGET $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS $SOURCES' .EE .ES |