Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2005 12:17:45 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Alejandro Pulver" <alejandro@varnet.biz>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Installing files with spaces in the middle
Message-ID:  <op.sqkkzvsd9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20050509211035.1e98b877@ale.varnet.bsd>
References:  <20050509211035.1e98b877@ale.varnet.bsd>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 09 May 2005 19:10:35 -0500, 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 " ")?

Do you need the loop? Are all images in ${WRKSRC}/Docs/Help/images/ going  
to be installed? If yes, then how about use the wildcat like this?

${INSTALL_DATA} ${WRKSRC}/Docs/Help/images/*  
${PREFIX}/${ETDIR}/Docs/Help/images/

If it's select images to be install, then I am not sure how to do with  
space bar.

Cheers,
Mezz

> Thanks and Best Regards
> Ale


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



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