help-make
[Top][All Lists]
Advanced

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

RE: Here Documents in commands


From: Paul D. Smith
Subject: RE: Here Documents in commands
Date: Fri, 29 Nov 2002 10:41:49 -0500

%% "Peter Ring" <address@hidden> writes:

  pr> Read up on 'Defining Variables Verbatim', the define
  pr> directive. Using define, you can assign a multi-line value to a
  pr> variable. This multi-line variable can of course contain
  pr> references to variables that will get expanded when you reference
  pr> the multi-line variable. Bingo, you've got a multi-line template.

This is not the same thing.  Each line of a multiline variable will be
treated as a separate line in the script--so, they will all be invoked
in separate shells (giving you a syntax error).

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

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