bug-make
[Top][All Lists]
Advanced

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

4.3: -p: exit status is 2


From: Steffen Nurpmeso
Subject: 4.3: -p: exit status is 2
Date: Sat, 19 Dec 2020 00:04:43 +0100
User-agent: s-nail v14.9.20-84-g7268a84d

Hello!

While finding a way to truly detect whether being run by BSD make
(which cannot supervise a shell script that turns on "set -m" to
monitors its childs) i stumbled upon the fact that

  $ make -p

exits 2.  Even if i follow the manual advice

  $ make -p -f /dev/null

i get complains (bad manual advice!), i have to create a minimal
makefile to get over it:

  $ echo all: > y.mk; make -p -f y.mk

then exit status is 0.

--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

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