Installing files with spaces in the middle
Alejandro Pulver
alejandro at varnet.biz
Tue May 10 10:08:38 PDT 2005
On Tue, 10 May 2005 03:40:41 +0300
Abu Khaled <khaled.abu at gmail.com> wrote:
> On 5/10/05, Alejandro Pulver <alejandro at varnet.biz> wrote:
> > Hello,
> >
> > I am making a port that has documentation files with spaces in the
> > middle: "ET logo.gif", "ET logos_7B.gif" and "ET logos_7c.gif".
> >
> > They are refered by links in other HTML documents, so I can not
> > rename them (or I will have to patch/reinplace the HTML files).
> >
> > I am using a for loop and 'make' sees them as separate elements:
> >
> > .for IMAGES in 3by3.gif ATVIsmall.jpg ET logo.gif ET logos_7B.gif \
> > ET logos_7c.jpg GM_Color_small.jpg id_logo_small.jpg
> > \ nerve_logo_small.jpg redstripe.jpg \
> > rtcw_logo_480banner_elite.jpg rtcw_logo_small.jpg \
> > sd_logo.JPG wolf_bg.gif
> > ${INSTALL_DATA} ${WRKSRC}/Docs/Help/images/${IMAGES} \
> > ${PREFIX}/${ETDIR}/Docs/Help/images
> > .endfor
> >
> > Is there a way to install these files (escaping the " ")?
> >
> > Thanks and Best Regards
> > Ale
>
> hmm, try to add \ for files with spaces in the name. use \(space)
> eg. ET\ logo.gif
> I hope this helps.
>
Hello,
Thank you for your reply.
That does not work in a '.for' loop ('make' uses ' ' as a separator),
but it works when installing them individually.
Thanks and Best Regards,
Ale
More information about the freebsd-ports
mailing list