[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using canned sequences
From: |
Bijal Shah |
Subject: |
Using canned sequences |
Date: |
Tue, 24 Apr 2001 11:42:52 +0100 |
Port: Windows NT 4.0 , compiled with Visual C++ 6.0
GNAKE version: GNU Make version 3.79.1, by Richard Stallman and Roland
McGrath.
Basically, I am finding that turning echo off in a canned command sequence
as follows appears to prevent the echoing of the remainder of the commands
in the sequence
For example:
define COPY_DEP_TO_TARGET
echo **
echo ** Copying $< to $@
echo **
endef
will echo each command as well as the output, however
define COPY_DEP_TO_TARGET
@echo **
echo ** Copying $< to $@
echo **
endef
will prevent the echo of every command following the @ symbol.
It looks like the canned sequence is treated as a single command rather than
a set of commands by the processor. This happens for nested canned sequences
as well. This doesn't match the behaviour as described on section 5.7 of the
manual (v3.79)
Cheers,
Bijal
- Using canned sequences,
Bijal Shah <=