Sam Vervaeck via llvm-dev
2015-Aug-30 08:12 UTC
[llvm-dev] In-source builds are not allowed, but documentation requires Make.config
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. According to this answer: http://stackoverflow.com/questions/4763381/no-rule-to-make-target-makefile-needed-by-makefile#comment40533198_4908782 <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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150830/4218b1c0/attachment.html>
David Wiberg via llvm-dev
2015-Aug-30 19:50 UTC
[llvm-dev] In-source builds are not allowed, but documentation requires Make.config
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 >
Sam Vervaeck via llvm-dev
2015-Aug-30 20:35 UTC
[llvm-dev] In-source builds are not allowed, but documentation requires Make.config
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