diff options
Diffstat (limited to 'doc/user/repositories.sgml')
-rw-r--r-- | doc/user/repositories.sgml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/user/repositories.sgml b/doc/user/repositories.sgml index 4acc943..2193a8f 100644 --- a/doc/user/repositories.sgml +++ b/doc/user/repositories.sgml @@ -142,7 +142,7 @@ subdirectories under the repository tree. directory trees that contain source code, or derived files, or both. You can eliminate additional unnecessary - rebuilds of files by having &SCons;, + rebuilds of files by having &SCons; use files from one or more code repositories to build files in your local build tree. @@ -163,8 +163,8 @@ used to build any local derived files. <para> - You use the &Repository; method - to tell &SCons; to search one or more + The &Repository; method + tells &SCons; to search one or more central code repositories (in order) for any source files and derived files that are not present in the local build tree: @@ -223,7 +223,7 @@ used to build any local derived files. </para> <literallayout> - % <userinput>scons .</userinput> + % <userinput>scons</userinput> gcc -c hello.c -o hello.o gcc -o hello hello.o </literallayout> @@ -238,7 +238,7 @@ used to build any local derived files. </para> <literallayout> - % <userinput>scons .</userinput> + % <userinput>scons</userinput> gcc -c /usr/repository1/hello.c -o hello.o gcc -o hello hello.o </literallayout> @@ -252,7 +252,7 @@ used to build any local derived files. </para> <literallayout> - % <userinput>scons .</userinput> + % <userinput>scons</userinput> gcc -c /usr/repository2/hello.c -o hello.o gcc -o hello hello.o </literallayout> @@ -281,7 +281,7 @@ used to build any local derived files. </para> <literallayout> - % <userinput>scons -Y /usr/repository1 -Y /usr/repository2 .</userinput> + % <userinput>scons -Y /usr/repository1 -Y /usr/repository2</userinput> </literallayout> <para> @@ -303,7 +303,7 @@ used to build any local derived files. If a repository contains not only source files, but also derived files (such as object files, - libraries, or exectuables), &SCons; will perform + libraries, or executables), &SCons; will perform its normal MD5 signature calculation to decide if a derived file in a repository is up-to-date, or the derived file must be rebuilt in the local build directory. @@ -325,7 +325,7 @@ used to build any local derived files. <literallayout> % <userinput>cd /usr/repository1</userinput> - % <userinput>scons .</userinput> + % <userinput>scons</userinput> gcc -c hello.c -o hello.o gcc -o hello hello.o </literallayout> @@ -353,7 +353,7 @@ used to build any local derived files. <literallayout> % <userinput>cd $HOME/build</userinput> % <userinput>edit hello.c</userinput> - % <userinput>scons -Y /usr/repository1 .</userinput> + % <userinput>scons -Y /usr/repository1</userinput> gcc -c hello.c -o hello.o gcc -o hello hello.o XXXXXXX @@ -385,8 +385,8 @@ used to build any local derived files. <literallayout> % <userinput>mkdir $HOME/build2</userinput> % <userinput>cd $HOME/build2</userinput> - % <userinput>cons -Y /usr/all/repository hello</userinput> - cons: "hello" is up-to-date. + % <userinput>scons -Y /usr/all/repository hello</userinput> + scons: `hello' is up-to-date. </literallayout> <para> |