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

Sam Vervaeck via llvm-dev llvm-dev at lists.llvm.org
Sun Aug 30 13:35:10 PDT 2015


Thanks, I’ve found the answer. Yours is actually complementary to it.

For anyone interested, LLVM_ENABLE_DOXYGEN must be set to On when running cmake.

$ mkdir build && cd build
$ cmake -DLLVM_ENABLE_DOXYGEN=On
$ make doxygen-llvm

Sam

> Op 30-aug.-2015, om 21:50 heeft David Wiberg via llvm-dev <llvm-dev at lists.llvm.org> het volgende geschreven:
> 
> 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
>> 
> _______________________________________________
> 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