The R Project SVN R

Rev

Rev 87117 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 87117 Rev 87131
Line 12... Line 12...
12
  CHANGES.rds CHANGES html/CHANGES.html
12
  CHANGES.rds CHANGES html/CHANGES.html
13
 
13
 
14
NEWS.rds: NEWS.Rd
14
NEWS.rds: NEWS.Rd
15
	@$(ECHO) "options(warn=1);saveRDS(tools:::prepare_Rd(tools::parse_Rd(\"$<\", \
15
	@$(ECHO) "options(warn=1);saveRDS(tools:::prepare_Rd(tools::parse_Rd(\"$<\", \
16
	  macros = \"../share/Rd/macros/system.Rd\"), stages = \"install\", \
16
	  macros = \"../share/Rd/macros/system.Rd\"), stages = \"install\", \
17
	  warningCalls = FALSE), \"$@\")" | $(R_EXE) || rm $^
17
	  warningCalls = FALSE), \"$@\")" | $(R_EXE) || rm $*
18
 
18
 
19
NEWS.2.rds: NEWS.2.Rd
19
NEWS.2.rds: NEWS.2.Rd
20
	@$(ECHO) "options(warn=1);saveRDS(tools:::prepare_Rd(tools::parse_Rd(\"$<\", \
20
	@$(ECHO) "options(warn=1);saveRDS(tools:::prepare_Rd(tools::parse_Rd(\"$<\", \
21
	  macros = \"../share/Rd/macros/system.Rd\"), stages = \"install\", \
21
	  macros = \"../share/Rd/macros/system.Rd\"), stages = \"install\", \
22
	  warningCalls = FALSE), \"$@\")" | $(R_EXE) || rm $^
22
	  warningCalls = FALSE), \"$@\")" | $(R_EXE) || rm $*
23
 
23
 
24
NEWS.3.rds: NEWS.3.Rd
24
NEWS.3.rds: NEWS.3.Rd
25
	@$(ECHO) "options(warn=1);saveRDS(tools:::prepare_Rd(tools::parse_Rd(\"$<\", \
25
	@$(ECHO) "options(warn=1);saveRDS(tools:::prepare_Rd(tools::parse_Rd(\"$<\", \
26
	  macros = \"../share/Rd/macros/system.Rd\"), stages = \"install\", \
26
	  macros = \"../share/Rd/macros/system.Rd\"), stages = \"install\", \
27
	  warningCalls = FALSE), \"$@\")" | $(R_EXE) || rm $^
27
	  warningCalls = FALSE), \"$@\")" | $(R_EXE) || rm $*
28
 
28
 
29
CHANGES.rds: ../src/gnuwin32/CHANGES.Rd
29
CHANGES.rds: ../src/gnuwin32/CHANGES.Rd
30
	@$(ECHO) "options(warn=1);saveRDS(tools:::prepare_Rd(tools::parse_Rd(\"$<\", \
30
	@$(ECHO) "options(warn=1);saveRDS(tools:::prepare_Rd(tools::parse_Rd(\"$<\", \
31
	  macros = \"../share/Rd/macros/system.Rd\"), stages = \"install\", \
31
	  macros = \"../share/Rd/macros/system.Rd\"), stages = \"install\", \
32
	  warningCalls = FALSE), \"$@\")" | $(R_EXE) || rm $^
32
	  warningCalls = FALSE), \"$@\")" | $(R_EXE) || rm $*
33
 
33
 
34
## Force ASCII output, for portability on Windows
34
## Force ASCII output, for portability on Windows
35
NEWS: NEWS.rds
35
NEWS: NEWS.rds
36
	@$(ECHO) "creating doc/NEWS"
36
	@$(ECHO) "creating doc/NEWS"
37
	@$(ECHO) "options(warn=1);tools:::Rd2txt_NEWS_in_Rd(\"$<\", \"$@\", \
37
	@$(ECHO) "options(warn=1);tools:::Rd2txt_NEWS_in_Rd(\"$<\", \"$@\", \
38
	  outputEncoding = \"ASCII//TRANSLIT\")" | $(R_EXE) || rm $^
38
	  outputEncoding = \"ASCII//TRANSLIT\")" | $(R_EXE) || rm $*
39
 
39
 
40
## Should be allowed to fail if pdflatex is not available
40
## Should be allowed to fail if pdflatex is not available
41
NEWS.pdf: NEWS.rds
41
NEWS.pdf: NEWS.rds
42
	@$(ECHO) "creating doc/NEWS.pdf"
42
	@$(ECHO) "creating doc/NEWS.pdf"
43
	-@$(ECHO) "options(warn=1);tools:::Rd2pdf_NEWS_in_Rd(\"$<\", \"$@\")" | \
43
	-@$(ECHO) "options(warn=1);tools:::Rd2pdf_NEWS_in_Rd(\"$<\", \"$@\")" | \
44
	  $(R_EXE)
44
	  $(R_EXE)
45
 
45
 
46
CHANGES: CHANGES.rds
46
CHANGES: CHANGES.rds
47
	@$(ECHO) "options(warn=1);tools:::Rd2txt_NEWS_in_Rd(\"$<\", \"$@\", \
47
	@$(ECHO) "options(warn=1);tools:::Rd2txt_NEWS_in_Rd(\"$<\", \"$@\", \
48
	  outputEncoding = \"ASCII//TRANSLIT\")" | $(R_EXE) || rm $^
48
	  outputEncoding = \"ASCII//TRANSLIT\")" | $(R_EXE) || rm $*
49
 
49
 
50
html/NEWS.html: NEWS.rds
50
html/NEWS.html: NEWS.rds
51
	@$(ECHO) "options(warn=1);tools:::Rd2HTML_NEWS_in_Rd(\"$<\", \"$@\")" | \
51
	@$(ECHO) "options(warn=1);tools:::Rd2HTML_NEWS_in_Rd(\"$<\", \"$@\")" | \
52
	  $(R_EXE) || rm $^
52
	  $(R_EXE) || rm $*
53
 
53
 
54
html/CHANGES.html: CHANGES.rds
54
html/CHANGES.html: CHANGES.rds
55
	@$(ECHO) "options(warn=1);tools:::Rd2HTML_NEWS_in_Rd(\"$<\", \"$@\")" | \
55
	@$(ECHO) "options(warn=1);tools:::Rd2HTML_NEWS_in_Rd(\"$<\", \"$@\")" | \
56
	  $(R_EXE) || rm $^
56
	  $(R_EXE) || rm $*
57
 
57
 
58
clean:
58
clean:
59
	@rm -f NEWS.rds html/NEWS.html NEWS NEWS.pdf \
59
	@rm -f NEWS.rds html/NEWS.html NEWS NEWS.pdf \
60
	  CHANGES.rds html/CHANGES.html
60
	  CHANGES.rds html/CHANGES.html