Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15009

Re: The usage of `cd builtins && $(MAKE) ...`

From Vladimir Marek <Vladimir.Marek@oracle.com>
Newsgroups gnu.bash.bug
Subject Re: The usage of `cd builtins && $(MAKE) ...`
Date 2018-12-30 14:37 +0100
Message-ID <mailman.6558.1546177074.1284.bug-bash@gnu.org> (permalink)
References <CABrM6w=ok1d81KK8TFaZrwbbspA8AXc4QhT02OW+7JWwQF2T3Q@mail.gmail.com>

Show all headers | View raw


Hi,

> I see things like `cd builtins && $(MAKE) ...` in the Makefiles in
> bash source code. GNU Make has the option of -C for entering a
> directory and make. Is the reason to cd then make for compatibility
> with other make's that don't support -C? Thanks.

I'm afraid that you are in wrong mailing list. I'm putting this list on
bcc. You can consider asking at one of autotools lists

https://www.lrde.epita.fr/~adl/autotools.html

I would choose automake one. But yes, I believe that it's because not
every make clone has -C.

Cheers
-- 
	Vlad

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: The usage of `cd builtins && $(MAKE) ...` Vladimir Marek <Vladimir.Marek@oracle.com> - 2018-12-30 14:37 +0100

csiph-web