<div dir="ltr">Should this be in share/[llvm|clang]/doc or share/doc/[llvm|clang] ?  We already have stuff in the former.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 28, 2014 at 2:32 AM, Dan Liew <span dir="ltr"><<a href="mailto:dan@su-root.co.uk" target="_blank">dan@su-root.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ping.<br>
<br>
Would it be preferable to have a CMake cache variable called<br>
DOCS_PREFIX that is set to ``share/doc/`` by default which the install<br>
rules (doxygen and sphinx) for both clang and llvm use ? This would<br>
prevent inconsistencies if the rules were later modified and allow the<br>
user to customise where the documentation is installed. E.g. Doxygen<br>
install location for LLVM would be<br>
<br>
${CMAKE_INSTALL_PREFIX}/${DOCS_PREFIX}/llvm/doxygen<br>
<br>
and for LLVM sphinx it would be<br>
<br>
${CMAKE_INSTALL_PREFIX}/${DOCS_PREFIX}/llvm/<br>
<br>
If so I can rework the patches.<br>
<div><div class="h5"><br>
<br>
On 20 April 2014 20:53, Dan Liew <<a href="mailto:dan@su-root.co.uk">dan@su-root.co.uk</a>> wrote:<br>
> When the Doxygen documentation is installed using CMake the install<br>
> location is the same for both LLVM and Clang (assuming clang source is<br>
> in tools/clang). This is bad because some files will over write each<br>
> other and generally make a mess of things.<br>
><br>
> Attached is a patch for LLVM and a patch for Clang to fix this so LLVM<br>
> and Clang use different installation locations and use an installation<br>
> path that is more similar to the installation location used for the<br>
> Sphinx documentation (recently added in r206655).<br>
><br>
> Thanks,<br>
> --<br>
> Dan Liew<br>
> PhD Student - Imperial College London<br>
<br>
<br>
<br>
--<br>
Dan Liew<br>
PhD Student - Imperial College London<br>
</div></div>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>