Darwin Framework and Application Install Directory Improvements (PR#6882)
Why this is related in any sense to a bug (report)? BTW, $(prefix) can contain "Libraries" in its path, why using $(prefix)/Libraries/ ?? Why should R.app and the R.framework be placed on the same target? What can be done is to set a R_APPLICATION_DIR variable default-ed to /Applications, I found this reasonable. In which sense you propose this modification as an improvement ? stefano
On May 13, 2004, at 8:56 PM, ch-r@bobobeach.com wrote:
Full_Name: Cyrus Harmon Version: 1.9.0 OS: MacOS X 10.3 Submission from: (NULL) (169.229.10.50) R_FRAMEWORK_DIR should default to $(prefix)/Libraries/R.framework and there should be a new directory to put R.app in like $(prefix)/Applications. The following patch does this: =================================================================== RCS file: Makeconf.in,v retrieving revision 1.1 diff -r1.1 Makeconf.in 63c63,64 < R_FRAMEWORK_DIR = $(prefix)/R.framework ---
R_FRAMEWORK_DIR = $(prefix)/Libraries/R.framework R_APPLICATION_DIR = $(prefix)/Applications/
=================================================================== RCS file: Makefile.in,v retrieving revision 1.1 diff -r1.1 Makefile.in 204,205c204,205 < @(rm -rf /Applications/R.app) < @(mkdir -p /Applications/R.app/Contents/Resources) ---
@(rm -rf $(R_APPLICATION_DIR)/R.app)
@(mkdir -p $(R_APPLICATION_DIR)/R.app/Contents/Resources)
207c207 < cp PkgInfo /Applications/R.app/Contents) ---
cp PkgInfo $(R_APPLICATION_DIR)/R.app/Contents)
209c209 < cp Info.plist /Applications/R.app/Contents) ---
cp Info.plist $(R_APPLICATION_DIR)/R.app/Contents)
211,212c211,212 < cp -R * /Applications/R.app/Contents/Resources) < @(mkdir -p /Applications/R.app/Contents/MacOS) ---
cp -R * $(R_APPLICATION_DIR)/R.app/Contents/Resources)
@(mkdir -p $(R_APPLICATION_DIR)/R.app/Contents/MacOS)
215c215 < @(cd /Applications/R.app/Contents/MacOS && \ ---
@(cd $(R_APPLICATION_DIR)/R.app/Contents/MacOS && \
______________________________________________ R-devel@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel