%% Jens Schweikhardt <[EMAIL PROTECTED]> writes:

  js> On Mon, Jan 27, 2003 at 10:23:02AM +0100, Yanghui Bian wrote:
  js> # Hello,
  js> # In my make file, I need to include the sub makefile which 
  js> # is in CVS system. I write it as fllows:
  js> # $(shell cvs co my_test) 
  js> # include ./my_test/Makefile
  js> # 
  js> # It works fine. But I want make to echo the command "cvs co my_test"
  js> # result as I run in shell. 

  js> I'm not sure I understand what you want, exactly. Maybe this (untested):

  js>   $(shell echo "cvs co my_test"; cvs co my_test)

This won't work, because $(shell ...) is like ``.

You need something like:

  $(shell echo "cvs co my_test" 1>&2; cvs co my_test)

to send the message to stderr instead of stdout.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


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

Reply via email to