qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] Makefile: Add back TAGS/ctags/cscope rules


From: Connor Kuehl
Subject: Re: [PATCH 1/2] Makefile: Add back TAGS/ctags/cscope rules
Date: Tue, 1 Sep 2020 11:07:16 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

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 <groug@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

[Prev in Thread] Current Thread [Next in Thread]