bug-make
[Top][All Lists]
Advanced

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

[bug #52912] minor bug in GNU make's own Makefile under .ONESHELL


From: Paul D. Smith
Subject: [bug #52912] minor bug in GNU make's own Makefile under .ONESHELL
Date: Tue, 16 Jan 2018 10:24:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #1, bug #52912 (project make):

Unfortunately, Makefile.in is generated by automake and that rule is part of
automake's autogenerated content, it's not part of GNU make, so there's not
much we can do about it (at least, not easily).

I think that your use-case is going to cause lots of other problems and I'm
not sure it's feasible to change all the makefiles to make them work in this
mode.

Instead I think it would be better to convince make that your shell IS a POSIX
shell (if indeed it is).  Maybe someday a new option that would define a shell
as POSIX-compatible would be appropriate for GNU make although I can't think
of a nice way to manage it offhand.

In the meantime, you can change the name of your shell (or make a symlink to
it) to one of the POSIX-compatible shells that make knows about (sh, bash,
ksh, rksh, zsh, ash, dash) and set SHELL=/path/to/my/sh and then make should
be mollified.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52912>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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