Fix timestamp-related Decider() examples by using Object() instead of
[scons.git] / doc / user / depends.in
index 8ba05048affde3b379e687eb68d4d7bda9606bb1..9a57055ec8c0f53e7aa6baba04728a040efc4a1f 100644 (file)
 
       <scons_example name="newer">
         <file name="SConstruct" printme="1">
-        Program('hello.c')
+        Object('hello.c')
         Decider('timestamp-newer')
         </file>
         <file name="hello.c">
       </para>
 
       <scons_output example="newer" os="posix">
-         <scons_output_command>scons -Q hello</scons_output_command>
+         <scons_output_command>scons -Q hello.o</scons_output_command>
          <scons_output_command>touch hello.c</scons_output_command>
-         <scons_output_command>scons -Q hello</scons_output_command>
+         <scons_output_command>scons -Q hello.o</scons_output_command>
       </scons_output>
 
       <para>
       </para>
 
       <sconstruct>
-        Program('hello.c')
+        Object('hello.c')
         Decider('make')
       </sconstruct>
 
 
       <scons_example name="match">
         <file name="SConstruct" printme="1">
-        Program('hello.c')
+        Object('hello.c')
         Decider('timestamp-match')
         </file>
         <file name="hello.c">
       </para>
 
       <scons_output example="match" os="posix">
-         <scons_output_command>scons -Q hello</scons_output_command>
+         <scons_output_command>scons -Q hello.o</scons_output_command>
          <scons_output_command>touch -t 198901010000 hello.c</scons_output_command>
-         <scons_output_command>scons -Q hello</scons_output_command>
+         <scons_output_command>scons -Q hello.o</scons_output_command>
       </scons_output>
 
       <para>