[llvm-dev] In-source builds are not allowed, but documentation requires Make.config

David Wiberg via llvm-dev llvm-dev at lists.llvm.org
Sun Aug 30 12:50:23 PDT 2015


2015-08-30 10:12 GMT+02:00 Sam Vervaeck via llvm-dev <llvm-dev at lists.llvm.org>:
> Hi,
>
> I’m trying to build the documentation. Running make in /docs, I get the
> following error:
>
> Makefile:44: Makefile.config: No such file or directory
> make: *** No rule to make target `Makefile.config'.  Stop.

Hi,

You can try running (from the LLVM_SRC_DIR\docs directory): make -f
Makefile.sphinx

See [1] for some more information.

[1] http://llvm.org/docs/BuildingLLVMWithAutotools.html

Best regards
David




>
> According to this answer:
> http://stackoverflow.com/questions/4763381/no-rule-to-make-target-makefile-needed-by-makefile#comment40533198_4908782,
> a ./configure in the LLVM_SRC_ROOT should fix this. The error seems to
> suggest a similar thing. However:
>
> $ ./configure
> configure: error: In-source builds are not allowed. Please configure from a
> separate build directory!
>
> Makes it unable to generate the required files. How should this be fixed?
>
> Thanks in advance,
> Sam
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>


More information about the llvm-dev mailing list