bug-make
[Top][All Lists]
Advanced

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

4.4.1 breaks recursive invocation with --print-directory [when adding to


From: Satish Balay
Subject: 4.4.1 breaks recursive invocation with --print-directory [when adding to MAKEFLAGS]
Date: Tue, 28 Feb 2023 19:02:29 -0600 (CST)

This usage works with make-4.4 [and older versions] - but not 4.4.1

Satish

----

balay@p1 /home/balay/tmp
$ cat makefile
all:
        @MAKEFLAGS="-j1 ${MAKEFLAGS}" ${MAKE} -f makefile hello
hello:
        @echo Hello
balay@p1 /home/balay/tmp
$ ./make-4.4/make --print-directory
make: Entering directory '/home/balay/tmp'
make[1]: Entering directory '/home/balay/tmp'
Hello
make[1]: Leaving directory '/home/balay/tmp'
make: Leaving directory '/home/balay/tmp'
balay@p1 /home/balay/tmp
$ ./make-4.4.1/make --print-directory
make: Entering directory '/home/balay/tmp'
make[1]: Entering directory '/home/balay/tmp'
make[1]: *** No rule to make target 'w'.  Stop.
make[1]: Leaving directory '/home/balay/tmp'
make: *** [makefile:2: all] Error 2
make: Leaving directory '/home/balay/tmp'



reply via email to

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