+<!-- ======================================================================= -->
+<div class="doc_subsection"><a name="rpm">Building RPM packages (optional)</a></div>
+<div class="doc_text">
+ <p>You can, optionally, create source and binary RPM packages for LLVM. These
+ may make it easier to get LLVM into a distribution. This can be done with
+ the following commands:</p>
+ <pre>
+ make dist # Build the distribution source tarball
+ make dist-check # Check that the source tarball can build itself.
+ cp llvm-M.m.tar.gz /usr/src/redhat/SOURCES # Required by rpmbuild
+ make srpm # for source rpm
+ make rpm # for binary rpm
+ </pre>
+ <p>First, use "make dist" to simply build the distribution. Any