Date: Tue, 10 May 2005 14:09:52 -0300 From: Alejandro Pulver <alejandro@varnet.biz> To: Abu Khaled <khaled.abu@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Installing files with spaces in the middle Message-ID: <20050510140952.60ba6887@ale.varnet.bsd> In-Reply-To: <a64c109e05050917403250c6bd@mail.gmail.com> References: <20050509211035.1e98b877@ale.varnet.bsd> <a64c109e05050917403250c6bd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 10 May 2005 03:40:41 +0300 Abu Khaled <khaled.abu@gmail.com> wrote: > On 5/10/05, Alejandro Pulver <alejandro@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050510140952.60ba6887>