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


Groups > gnu.bash.bug > #15008

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

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Peng Yu <pengyu.ut@gmail.com>
Newsgroups gnu.bash.bug
Subject The usage of `cd builtins && $(MAKE) ...`
Date Sun, 30 Dec 2018 07:09:53 -0600
Lines 11
Approved bug-bash@gnu.org
Message-ID <mailman.6557.1546175409.1284.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1546175410 9446 208.118.235.17 (30 Dec 2018 13:10:10 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash <bug-bash@gnu.org>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Dd89w8dr3REWwl5V638SndVKQzp+fs6U+bcEEG1stfU=; b=JWxR5YBFjTibJDEd6WBI2fB07ROMjMILhzcHgOlORtt2HUVwAGl69c5NJ9Q2wlyXqU PbT9sUnOp8Je1rtRnOeNctqsBJQ7w+CJEYQl0aWrH6mXURWcwEl45EIfICRl26SU6c9L wqmSyJapYnC0edaCW/V0U18GNqrHGM9r75lek5k06r84O0zSiep+PLCkAD/jt3OqyKxJ ebd0bLF/Et11Qk3Z4CCCH4ZaI4NWDkeivZplj+asmHkYlynDXIRXUCiq+K39HhCvhYep ySgx0Wd/Ub8biFXsZjvWxNGNIRsJcYrJXGHXytHGtynLUgNlav48qSmIMCESoKnAEFRh oTGA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Dd89w8dr3REWwl5V638SndVKQzp+fs6U+bcEEG1stfU=; b=t8/0mvswpxltv1vIYAKaq6lU8OiTBH6xllKdDawNtpuA94VsncodQUQcscpdlhTo9u PduDdUAA1ocmj0DYlr1z727TGhxhbRT8K0UB76J/w3hLbe5yfxXeyr/TBLV0Aio9day8 HXpc0V63q/SF3ONA4he2c4Kfd6Rex/rhNccRJW9hR1EW21crhM/c/X9ygkZy5q9uQuJq VnKhvc5blelViJ3eJUc7UEPkzEhvAhj90v0p3m4QK4TRaeFPXWRF2RlBKYUJpEDM2Sio Mq/qEeqY4zG4TOTpG/g/xMJrnYc69g6vfxd71vucQXnUdsossCI7HWwVzZU7182uy7H8 K1tw==
X-Gm-Message-State AJcUukc/rKMJWuxn1rUHe+XY+yOoeLoeYxaXQ6tz3+46aULZrGjTQEDJ NojG55cm5gEBpyfSsbreiYWDn7TowHIfYn1SJKsMtXCL
X-Google-Smtp-Source ALg8bN7Zg8d6jUMnopYfcd5K61bg1Bea7bJO7aKOuNr8iYlUFQgTuKIHt4LD6BrC54moj67DRn/g6CXSQ1PMFZ21tqI=
X-Received by 2002:a6b:6b02:: with SMTP id g2mr19069857ioc.18.1546175406593; Sun, 30 Dec 2018 05:10:06 -0800 (PST)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:4864:20::d2c
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:15008

Show key headers only | 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.

-- 
Regards,
Peng

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


Thread

The usage of `cd builtins && $(MAKE) ...` Peng Yu <pengyu.ut@gmail.com> - 2018-12-30 07:09 -0600

csiph-web