On 9/1/20 11:04 AM, Paolo Bonzini wrote:
On 01/09/20 16:59, Connor Kuehl wrote:
On 9/1/20 9:20 AM, Greg Kurz wrote:
It is a bit of a pain to be forced to run configure before being able
to use cscope and friends. Add back the rules to build them in-tree
as before commit a56650518f5b.

Fixes: a56650518f5b ("configure: integrate Meson in the build system")
Signed-off-by: Greg Kurz <gr...@kaod.org>

This might be a user error on my part, but the way I read this it sounds
like I could do this:

     $ rm -rf build
     $ make cscope

and have it emit a cscope file,  but when I do so it complains about the
build dir not existing. As I understand it, running ./configure (or
meson build) is what generates that build dir. Here's the error for
posterity:

changing dir to build for make "cscope"...
make[1]: *** build: No such file or directory.  Stop.
make: *** [GNUmakefile:11: cscope] Error 2

You have a stray GNUmakefile in your source directory.  It's not
introduced by Greg's patch.

I suggest that you remove the GNUmakefile and just use out-of-tree builds.

You're right! There was a stray GNUmakefile. Thanks!

Connor


Reply via email to