Package: make
Version: 3.79.1

make (in Debian 2.2) is not correctly echoing commands when they occur in canned
command sequences. Since this is the latest version of make, I have downgraded
to the version from Debian 2.1 (make 3.77), which never gave me any problems.

The makefile below demonstrates the problem ("true" should occur twice in the
output, but only occurs once):

---
should_not_be_echoed = true
should_be_echoed = true

define canned_sequence
        @$(should_not_be_echoed)
        $(should_be_echoed)
endef

all : okay faulty

okay :
        @echo "this will be okay"
        @$(should_not_be_echoed)
        $(should_be_echoed)

faulty :
        @echo "this will fail to echo the second command in the canned sequence"
        $(canned_sequence)

_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to