The R Project SVN R

Rev

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

Rev 52366 Rev 52369
Line 1... Line 1...
1
#-*- Makefile -*-
1
#-*- Makefile -*-
2
include ../gnuwin32/MkRules
2
include ../gnuwin32/MkRules
3
R_HOME = ../..
3
R_HOME = ../..
4
 
4
 
5
## BATCH, INSTALL, REMOVE, Rdconv Rdiff, Rprof, SHLIB, build, check 
5
## BATCH, INSTALL, REMOVE, Rdconv Rdiff, Rprof, SHLIB, 
-
 
6
## Sweave, Stangle, build, check 
6
## are handled internally in Rcmd.exe
7
## are handled internally in Rcmd.exe
7
## COMPILE LINK javareonf rtags are Unix-only
8
## COMPILE LINK javareconf rtags are Unix-only
8
 
9
 
9
 
10
 
10
all: \
11
all: \
11
  $(R_HOME)/bin/config.sh $(R_HOME)/bin/Rd2dvi.sh \
12
  $(R_HOME)/bin/config.sh $(R_HOME)/bin/Rd2dvi.sh \
12
  $(R_HOME)/bin/Stangle.sh $(R_HOME)/bin/Sweave.sh \
-
 
13
  $(R_HOME)/bin/Sd2Rd.pl
13
  $(R_HOME)/bin/Sd2Rd.pl
14
 
14
 
15
$(R_HOME)/bin/Sd2Rd.pl: Sd2Rd.in
-
 
16
	@$(SED) -e 1d $< > $@
-
 
17
 
-
 
18
$(R_HOME)/bin/config.sh: config
15
$(R_HOME)/bin/config.sh: config
19
	@cp $< $@
16
	@cp $< $@
20
 
17
 
21
$(R_HOME)/bin/Rd2dvi.sh: Rd2dvi
18
$(R_HOME)/bin/Rd2dvi.sh: Rd2dvi
22
	@$(SED) -e 's|/bin/R|/bin$${R_ARCH_BIN}/R|' $< > $@
19
	@$(SED) -e 's|/bin/R|/bin$${R_ARCH_BIN}/R|' $< > $@
23
 
20
 
24
$(R_HOME)/bin/Stangle.sh: Stangle
-
 
25
	@$(SED) -e 's|/bin/R|/bin$${R_ARCH_BIN}/R|' $< > $@
-
 
26
 
-
 
27
$(R_HOME)/bin/Sweave.sh: Sweave
21
$(R_HOME)/bin/Sd2Rd.pl: Sd2Rd.in
28
	@$(SED) -e 's|/bin/R|/bin$${R_ARCH_BIN}/R|' $< > $@
22
	@$(SED) -e 1d $< > $@