The R Project SVN R

Rev

Rev 5078 | Rev 5122 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5078 Rev 5081
Line 16... Line 16...
16
SRC_SCRIPTS = BATCH Rd2dvi check filename help help.links \
16
SRC_SCRIPTS = BATCH Rd2dvi check filename help help.links \
17
	massage-Examples pager
17
	massage-Examples pager
18
OBJ_SCRIPTS = COMPILE INSTALL REMOVE Rd2contents Rd2txt Rdconv Rdindex \
18
OBJ_SCRIPTS = COMPILE INSTALL REMOVE Rd2contents Rd2txt Rdconv Rdindex \
19
	Rman2Rd SHLIB Sd2Rd build-help fwf2table help.pretty html2dos 
19
	Rman2Rd SHLIB Sd2Rd build-help fwf2table help.pretty html2dos 
20
 
20
 
21
all: R
21
all: Makefile R
-
 
22
 
-
 
23
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-
 
24
	cd $(top_builddir) && \
-
 
25
	  CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \
-
 
26
	  $(SHELL) ./config.status
22
 
27
 
23
R:
28
R:
24
	@$(MKINSTALLDIRS) $(top_builddir)/bin
29
	@$(MKINSTALLDIRS) $(top_builddir)/bin
25
	@cat R.sh | \
30
	@cat R.sh | \
26
	  (cd $(top_builddir); sed "s@-R_HOME_DIR*@-`pwd`@" > bin/R)
31
	  (cd $(top_builddir); sed "s@R_HOME_DIR*@`pwd`@" > bin/R)
27
	@chmod +x $(top_builddir)/bin/R
32
	@chmod +x $(top_builddir)/bin/R
28
	@for f in $(SRC_SCRIPTS); do \
33
	@for f in $(SRC_SCRIPTS); do \
29
	  $(INSTALL) $(srcdir)/$$f $(top_builddir)/bin; \
34
	  $(INSTALL) $(srcdir)/$$f $(top_builddir)/bin; \
30
	done
35
	done
31
	@for f in $(OBJ_SCRIPTS); do \
36
	@for f in $(OBJ_SCRIPTS); do \