On Wed, Jan 01, 2020 at 03:20:33AM +0800, Xi Ruoyao via blfs-dev wrote:
> Hi:
> 
> Now most of our meson commands contains a '..' but a few does not.  Maybe we
> should remove all '..' in meson commands.  Reasons:
> 
> (1)  '..' is unnecessary in meson command, with "mkdir build; cd build".
> (2)  Sometimes we forgot to "mkdir build; cd build" and type the meson command
> in the source code directory, mistakenly.  With a '..' meson will believe '..'
> is the building directory and produce build.ninja and many other files in 
> '..'. 
> It's hard to clean them because BLFS source code directory (/usr/src or
> $HOME/src) contains lots of tarballs.  However, without '..' if we forgot to
> type "mkdir build; cd build" meson would complain and exit, instead of 
> producing
> the files.
> 
> Any thoughts?

While I'm still maybe sober - I've seen both.  The scattering of
files around .. is certainly painful to clear up, and the exit if
not in a build directory is useful.

But I see Bruce prefers to be explicit.  Dunno about that, in
./configure scripts we usually ignore options which are the defaults
(compare various builds in AUR and gentoo).

ĸen
-- 
And there's a hand, my trusty fiere!
and gie's a hand o' thine!
And we'll tak' a right gude-willie waught,
for auld lang syne.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to