[llvm-commits] CVS: llvm/docs/MakefileGuide.html

Reid Spencer reid at x10sys.com
Sun Oct 31 10:50:44 PST 2004



Changes in directory llvm/docs:

MakefileGuide.html updated: 1.8 -> 1.9
---
Log message:

Add the preconditions target per suggestion by Henrik Bach.


---
Diffs of the changes:  (+16 -1)

Index: llvm/docs/MakefileGuide.html
diff -u llvm/docs/MakefileGuide.html:1.8 llvm/docs/MakefileGuide.html:1.9
--- llvm/docs/MakefileGuide.html:1.8	Sun Oct 31 11:58:58 2004
+++ llvm/docs/MakefileGuide.html	Sun Oct 31 12:50:34 2004
@@ -44,6 +44,7 @@
       <li><a href="#dist-check">dist-check</a></li>
       <li><a href="#dist-clean">dist-clean</a></li>
       <li><a href="#install">install</a></li>
+      <li><a href="#preconditions">preconditions</a></li>
       <li><a href="#printvars">printvars</a></li>
       <li><a href="#tags">tags</a></li>
       <li><a href="#uninstall">uninstall</a></li>
@@ -308,6 +309,9 @@
     <tr><td><a href="#install"><tt>install</tt></a></td><td>all</td>
       <td>Copy built objects to installation directory.
     </td></tr>
+    <tr><td><a href="#preconditions"><tt>preconditions</tt></a></td><td>all</td>
+      <td>Check to make sure configuration and makefiles are up to date.
+    </td></tr>
     <tr><td><a href="#printvars"><tt>printvars</tt></a></td><td>all</td>
       <td>Prints variables defined by the makefile system (for debugging).
     </td></tr>
@@ -413,6 +417,17 @@
 </div>
 
 <!-- ======================================================================= -->
+<div class="doc_subsection"><a name="preconditions">preconditions</a></div>
+<div class="doc_text">
+  <p>This utility target checks to see if the <tt>Makefile</tt> in the object
+  directory is older than the <tt>Makefile</tt> in the source directory and
+  copies it if so. It also reruns the <tt>configure</tt> script if that needs to
+  be done and rebuilds the <tt>Makefile.config</tt> file similarly. Users may
+  overload this target to ensure that sanity checks are run <em>before</em> any
+  building of targets as all the targets depend on <tt>preconditions</tt>.</p>
+</div>
+
+<!-- ======================================================================= -->
 <div class="doc_subsection"><a name="printvars">printvars</a></div>
 <div class="doc_text">
   <p>This utility target just causes LLVM to print out some of its variables so
@@ -830,7 +845,7 @@
 
   <a href="mailto:rspencer at x10sys.com">Reid Spencer</a><br>
   <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2004/10/31 17:58:58 $
+  Last modified: $Date: 2004/10/31 18:50:34 $
 </address>
 
 </body>






More information about the llvm-commits mailing list