[Rd] package that has a subdirectory in src
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Sep 24 20:59:08 CEST 2006
On Sun, 24 Sep 2006, Armstrong, Whit wrote:
> How does one tell R to compile code contained in subdirs of the /src
> directory?
Write a src/Makefile. There are several examples on CRAN: e.g. Matrix,
SQLiteDF, mapproj.
> I have a few files that I'd like to keep together as one unit.
>
> The cheesy way that I can think of is to put slinks in the src directory
> to the files contained in the subdir, but that's not really the solution
> I'm looking for.
>
> I was hoping to avoid adding a configure.in file to the project.
>
> By way of background information, the files in the subdirectory are a
> separate subversion project that is shared between many R packages that
> I am working on. Does anyone have any suggestions?
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-devel
mailing list