Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2015 16:05:06 -0800
From:      Yuri <yuri@rawbw.com>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        Freebsd hackers list <freebsd-hackers@freebsd.org>
Subject:   Re: Here documents: do they work in FreeBSD make?
Message-ID:  <565106B2.9090606@rawbw.com>
In-Reply-To: <C00F8961-ECBA-4298-9EA6-7A160334091D@kientzle.com>
References:  <5650FB25.2060408@rawbw.com> <C00F8961-ECBA-4298-9EA6-7A160334091D@kientzle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/21/2015 15:51, Tim Kientzle wrote:
> If you really need to build files programmatically as
> part of your makefile, create separate shell scripts
> and invoke those from make instead:

Yes, I know this, but I am doing this for the USES module, and I will 
have to create the second file for this module under Mk/Scripts or 
something. I am trying to avoid this.
Per-line output like this ${ECHO} "..." >> ${MY_DIR}/my-file works, but 
it suffers from the escaping problem. Requires to modify the source with 
escaping sequences.

I was thinking that 'here document' could help, but they it doesn't work 
for some reason. I am trying to find the simplest solution.

Yuri




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?565106B2.9090606>