[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make fails to correctly echo commands
From: |
trb |
Subject: |
make fails to correctly echo commands |
Date: |
Sat, 30 Sep 2000 08:36:01 +1100 (EST) |
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)
- make fails to correctly echo commands,
trb <=