help-make
[Top][All Lists]
Advanced

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

Function to display a command without expanding variables


From: Michael Morrell
Subject: Function to display a command without expanding variables
Date: Fri, 5 Oct 2007 12:42:43 -0700 (PDT)

Here's my 2nd (and hopefully last question) today.

I'm trying to write a function that will let me display a command without
expanding the variables.

This way, I can write:

x = 1
y = 2

all:
     $(call show-cmd, echo $(x) $(y))

and have the output be:

echo $(x) $(y)
1 2

That is, I want to see the command I am executing but I want it in a
"symbolic" form.

Does that make sense?

   Michael


      
____________________________________________________________________________________
Tonight's top picks. What will you watch tonight? Preview the hottest shows on 
Yahoo! TV.
http://tv.yahoo.com/ 





reply via email to

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