Hello Kimura-san.

Haha!

I am sorry again for the BSD make trouble that i caused by not
making JOBMON=n the default, yes, that would have be other option.

Yasuhiro KIMURA wrote in
 <[email protected]>:
 |Currently targets fail if user's login shell isn't compatible with
 |POSIX (e.g. csh, tcsh). So explicitly set SHELL in makefile so targets
 |succeed in such case too.

This should not matter to make(1).

 |---
 | makefile | 8 ++++++++
 | 1 file changed, 8 insertions(+)
 |
 |diff --git a/makefile b/makefile
 |index 51b94def..71761e73 100644
 |--- a/makefile
 |+++ b/makefile
 |@@ -9,6 +9,14 @@
 | .NOTPARALLEL:
 | .WAIT: # Luckily BSD make supports specifying this as target, too
 |
 |+# Explicitly set SHELL so targets succeed even if user's login shell
 |+# isn't compatible with POSIX (e,g. csh, tcsh)
 |+# User still can use other shell as following
 |+#
 |+# make SHELL=/bin/bash all
 |+#
 |+SHELL=/bin/sh
 |+

  98816 The SHELL macro shall be treated specially. It shall be
    provided by make and set to the
  98817 pathname of the shell command language interpreter (see
    sh). The SHELL environment variable
  98818 shall not affect the value of the SHELL macro. If SHELL is
    defined in the makefile or is specified
  98819 on the command line, it shall replace the original value
    of the SHELL macro, but shall not affect
  98820 the SHELL environment variable. Other effects of defining
    SHELL in the makefile or on the
  98821 command line are implementation-defined.

Since the above should explicitly refer to a POSIX compatible
shell i think it is ensured that SHELL is such unless the user
explicitly overrode that on the command-line.  Everything else
should be a bmake error, i think?.

Ciao, and many greetings to Japan,

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to