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


Groups > gnu.bash.bug > #15014

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

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: The usage of `cd builtins && $(MAKE) ...`
Date 2018-12-31 10:00 -0500
Organization ITS, Case Western Reserve University
Message-ID <mailman.6617.1546268471.1284.bug-bash@gnu.org> (permalink)
References <CABrM6w=ok1d81KK8TFaZrwbbspA8AXc4QhT02OW+7JWwQF2T3Q@mail.gmail.com>

Show all headers | View raw


On 12/30/18 8:09 AM, Peng Yu wrote:
> 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.

Yes. Bash doesn't require GNU make.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

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


Thread

Re: The usage of `cd builtins && $(MAKE) ...` Chet Ramey <chet.ramey@case.edu> - 2018-12-31 10:00 -0500

csiph-web