Re: [R] source package build/installation with subdirectory-lib

2010-10-04 Thread Murat Tasan
so i've narrowed it down to a case that works, and one that doesn't (but i think should?) here's the working Makevars file (copied directly): -- WORKING EXAMPLE JANSSON_DIR = $(PWD)/jansson-1.3 JANSSON_LIB_DIR = $(PWD)/jansson-1.3/lib JANSSON_INCLUDE_DIR =

Re: [R] source package build/installation with subdirectory-lib

2010-10-04 Thread Murat Tasan
i've simplified this process to illustrate what i'm not getting (i.e. doing wrong) regarding Makevars: take any R source package of yours (best to pick one that hasn't ever needed a Makevars file), and add a Makevars in src with: .PHONY: all testtarget all: $(SHLIB) $(SHLIB): testtarget testta

[R] source package build/installation with subdirectory-lib

2010-10-04 Thread Murat Tasan
hi all - i have a source package i'm writing that i'd like to be able to install with a special library that my R src files rely on. to be more precise, i have a normal R package directory structure (i.e. src/ R/ man/ DESCRIPTION NAMESPACE etc.). i also have another directory here called depPkg, an