On 22-Jan-2001, Chad Loder <[EMAIL PROTECTED]> wrote:
> Hello. I would like to indent build messages according to
> the make level at which they occur. I am considering something
> along the following lines:
>
>
> #################### /generic.mk ##########################
>
> INDENT_STRING:=<# of spaces equal to $(MAKELEVEL)>
> echo_msg:=echo "$(INDENT_STRING)"
How about just the following?
empty =
INDENT_STRING := $(empty)$(INDENT_STRING) $(empty)
export INDENT_STRING
At each recursive invocation, it will append one space
to INDENT_STRING.
--
Fergus Henderson <[EMAIL PROTECTED]> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make