[Rd] PATCH: install inst/ before doing lazyload on Windows

From: Seth Falcon <sfalcon_at_fhcrc.org>
Date: Tue, 12 Jun 2007 16:10:06 -0700


On Windows, package files in the inst/ subdir are installed after the lazyload creation. This differs from Linux where inst/ is installed _before_ lazyload creation.

Since packages may need data in inst, I think the order on Windows should be changed. Perhaps like this:

diff --git a/src/gnuwin32/MakePkg b/src/gnuwin32/MakePkg index 57af321..868e8f1 100644
--- a/src/gnuwin32/MakePkg
+++ b/src/gnuwin32/MakePkg
@@ -74,10 +74,10 @@ all:

@$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s nmspace
@$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg Dynlib
@$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s R
+ @$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s $(DPKG)/demo $(DPKG)/exec $(DPKG)/inst $(DATA)  ifeq ($(strip $(LAZY)),true)

@$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s lazyload
- @$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s $(DPKG)/demo $(DPKG)/exec $(DPKG)/inst $(DATA)  ifeq ($(strip $(LAZYDATA)),true)

@$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s lazydata

Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center

R-devel_at_r-project.org mailing list
Received on Tue 12 Jun 2007 - 23:17:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 14 Jun 2007 - 09:34:50 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.