diff options
Diffstat (limited to 'doc/user/install.in')
-rw-r--r-- | doc/user/install.in | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/doc/user/install.in b/doc/user/install.in index a263f65..370ca9f 100644 --- a/doc/user/install.in +++ b/doc/user/install.in @@ -62,8 +62,8 @@ </para> <scons_output example="ex1"> - <command>scons</command> - <command>scons __ROOT__/usr/bin</command> + <command>scons -Q</command> + <command>scons -Q __ROOT__/usr/bin</command> </scons_output> <para> @@ -100,9 +100,9 @@ </para> - <scons_output example="ex1"> - <command>scons</command> - <command>scons install</command> + <scons_output example="ex2"> + <command>scons -Q</command> + <command>scons -Q install</command> </scons_output> <section> @@ -127,6 +127,9 @@ <file name="hello.c"> int main() { printf("Hello, world!\n"); } </file> + <file name="goodbye.c"> + int main() { printf("Goodbye, world!\n"); } + </file> </scons_example> <para> @@ -152,7 +155,7 @@ </para> <scons_output example="ex3"> - <command>scons install</command> + <command>scons -Q install</command> </scons_output> </section> @@ -191,7 +194,7 @@ </para> <scons_output example="ex4"> - <command>scons install</command> + <command>scons -Q install</command> </scons_output> </section> @@ -218,10 +221,14 @@ env.InstallAs(['__ROOT__/usr/bin/hello-new', '__ROOT__/usr/bin/goodbye-new'], [hello, goodbye]) + env.Alias('install', '__ROOT__/usr/bin') </file> <file name="hello.c"> int main() { printf("Hello, world!\n"); } </file> + <file name="goodbye.c"> + int main() { printf("Goodbye, world!\n"); } + </file> </scons_example> <para> @@ -234,7 +241,7 @@ </para> <scons_output example="ex5"> - <command>scons install</command> + <command>scons -Q install</command> </scons_output> </section> |