<div dir="ltr"><div><div>I did try that. I've found that if I run `make` in the toplevel, I can just look at the last command it executes (which is generating all the documentation) and copy/paste all of the huge command to rerun it. It's a terrible solution but works well for me...<br>

<br></div>If you run it from the `ghc` subdirectory, you just get the same error message but with "No rule to make target `html_ghc'. Stop".<br><br></div><div>Anyway, I've temporarily solved this by copying the huge raw command that toplevel `make` produces to build the docs, but I don't know what the right way to do this is.<br>

</div><div><br></div>-- Andrew<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 15, 2014 at 4:36 AM, Richard Eisenberg <span dir="ltr"><<a href="mailto:eir@cis.upenn.edu" target="_blank">eir@cis.upenn.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>I've discovered that passing options to `make` doesn't necessarily work all that well. Certain ones work great, but it's not as reliable as I might like.</div>

<div><br></div><div>That said, have you tried running the command in the ./ghc subdirectory? (Not the top directory -- it's probably ...../ghc/ghc on your machine.)</div><div><br></div><div>If you get that error on a clean checkout, you could perhaps post a bug report.</div>

<span class="HOEnZb"><font color="#888888"><div><br></div><div>Richard</div><br></font></span><div><div><div class="h5"><div>On Jul 14, 2014, at 10:50 PM, Andrew Gibiansky <<a href="mailto:andrew.gibiansky@gmail.com" target="_blank">andrew.gibiansky@gmail.com</a>> wrote:</div>

<br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr">Any suggestions? I'm still stuck on this, and don't really know what to try next.<div><br></div><div> Andrew</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 9:36 PM, Andrew Gibiansky <span dir="ltr"><<a href="mailto:andrew.gibiansky@gmail.com" target="_blank">andrew.gibiansky@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I am trying to create my first patch, for #9294, where I want to export some extra things from Parser along with a bit of documentation. However, I cannot figure out how to regenerate the documentation for the GHC API (not for the libraries).<br>




</div><div><br></div><div>I tried running `make html stage=0 FAST=YES` in `./compiler`, and got the following helpful message:</div><div><br></div><div><div>make[2]: *** No rule to make target `html_compiler'.  Stop.</div>




<div>make[1]: *** [html_compiler] Error 2</div><div>make: *** [html] Error 2</div></div><div><br></div><div>So I'm a bit stumped. How do I regenerate Haddock documentation for the GHC API?</div><div><br></div><div>Thanks!</div>



<span><font color="#888888">
<div>Andrew</div></font></span></div>
</blockquote></div><br></div></div></div><div class="">
_______________________________________________<br>ghc-devs mailing list<br><a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>

</div></blockquote></div><br></div></blockquote></div><br></div>