Rev 51393 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
include ../MkRulesR_HOME = ../../..all: profiles fixhtml fixbin fixetc fixdoc svnonlyprofiles: $(R_HOME)/library/base/R/Rprofile$(R_HOME)/library/base/R/Rprofile: ../../library/profile/Common.R \../../library/profile/Rprofile.windows@$(ECHO) -------- Building $@ from $^--------mkdir -p $(R_HOME)/library/base/R@$(CAT) $^ > $@fixbin: cp2bin # iconv@$(ECHO) done > fixbin## unusediconv:@$(CP) ../unicode/iconv.dll ../../../$(BINDIR)cp2bin: $(wildcard ./bin/*)@zip -q bins $^@unzip -oaqj bins -d $(R_HOME)/bin@$(RM) bins.zipfixhtml: html/rwin.html$(CP) -p html/rwin.html $(R_HOME)/doc/html/index.html@$(ECHO) done > fixhtmlfixetc: $(wildcard ./etc/*)$(CP) -p $^ $(R_HOME)/etcifeq ($(strip $(WIN)),64)$(SED) -e 's/WIN = 32/WIN = 64/' \-e "s/-O3/-O2/" \-e "s/BINPREF =/BINPREF = $(BINPREF)/" \-e "s|IMPDIR = bin|IMPDIR = $(IMPDIR)|" \-e "s|LOCAL_SOFT =|LOCAL_SOFT = $(LOCAL_SOFT)|" \-e "s|R_ARCH =|R_ARCH = $(R_ARCH)|" \etc/Makeconf > $(R_HOME)/etc/Makeconf$(MKDIR) -p $(R_HOME)/etc/x64$(CP) -p $(R_HOME)/etc/Makeconf $(R_HOME)/etc/x64/Makeconf$(RM) $(R_HOME)/etc/Makeconfelse$(SED) -e "s|IMPDIR = bin|IMPDIR = $(IMPDIR)|" \-e "s|LOCAL_SOFT =|LOCAL_SOFT = $(LOCAL_SOFT)|" \etc/Makeconf > $(R_HOME)/etc/Makeconfendif@$(ECHO) done > fixetcfixdoc: $(wildcard ../CHANGES*)$(CP) -p $^ $(R_HOME)/doc@$(ECHO) done > fixdocsvnonly:@$(MAKE) -C ../../../doc/manual -f Makefile.win svnonlyclean:$(RM) *~ */*~ fixhtml fixbin fixetc fixshare fixdocdistclean:$(RM) $(R_HOME)/doc/CHANGES*