From kevinushey at gmail.com  Wed May 13 19:10:49 2015
From: kevinushey at gmail.com (Kevin Ushey)
Date: Wed, 13 May 2015 10:10:49 -0700
Subject: [Rd] Alternative for wildcard gnu extension in Makevars
In-Reply-To: <CABtg=KkyH5qj2wC_oeinru10+vVqfhD+rriDAj5TdeZnSkhekQ@mail.gmail.com>
References: <20150513172750.Horde.XmEuGWEwhY5VU212D36XCEA@webmailnew.dds.nl>
	<21843.29537.86236.300996@max.nulle.part>
	<20150513180509.Horde.AU5NdWEwhY5VU3Y1ROC1FeA@webmailnew.dds.nl>
	<CABtg=KkyH5qj2wC_oeinru10+vVqfhD+rriDAj5TdeZnSkhekQ@mail.gmail.com>
Message-ID: <CAJXgQP1NnY1WXgnGj87qcxPkamMYasLOUnFZ9VkRC2uK5Ec9nQ@mail.gmail.com>

One other solution that's only a little crazy: you could have a R
function within your package that generates the appropriate (portable)
Makevars, and within the package `configure` script call that
function. For example"

    R --vanilla --slave -e "source('R/makevars.R'); makevars()"

And that 'makevars()' function could generate portable
'Makevars(.win)' files for your package.

Kevin

On Wed, May 13, 2015 at 9:08 AM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
> On Wed, May 13, 2015 at 12:05 PM, Jan van der Laan <rhelp at eoos.dds.nl>
> wrote:
> [...]
>
>> Too bad. Since it is only a handful of files, I will probably move them
>> directly into the src directory and prefix them. It would have been nice to
>> have been able to keep them separate.
>>
>
> If it is a couple of files, then you can also just list them in SOURCES (or
> even just OBJECTS, with a .o suffix), and leave them where they are.
>
> Gabor
>
> [...]
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Alternative for wildcard gnu extension in Makevars
Kevin Ushey