The R Project SVN R

Rev

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

Rev 87131 Rev 87670
Line 71... Line 71...
71
NEWS.pdf: NEWS.rds
71
NEWS.pdf: NEWS.rds
72
	@if test -z "$(PDFLATEX)"; then \
72
	@if test -z "$(PDFLATEX)"; then \
73
	  $(ECHO) "'pdflatex' is needed to make NEWS.pdf but is missing on your system."; \
73
	  $(ECHO) "'pdflatex' is needed to make NEWS.pdf but is missing on your system."; \
74
	else \
74
	else \
75
	 $(ECHO) "creating doc/NEWS.pdf"; \
75
	 $(ECHO) "creating doc/NEWS.pdf"; \
76
	 $(ECHO) 'options(warn=1);tools:::Rd2pdf_NEWS_in_Rd("NEWS.rds", "NEWS.pdf")' | \
76
	 $(ECHO) 'options(warn=1);tools:::Rd2pdf_NEWS_in_Rd("NEWS.rds", "NEWS.pdf")' |  $(R_EXE) || rm $*; \
77
	 TEXINPUTS="$(top_srcdir)/share/texmf/tex/latex:$$TEXINPUTS" $(R_EXE) || rm $*; \
-
 
78
	fi
77
	fi
79
 
78
 
80
docs3: NEWS.3.rds NEWS.3.html NEWS.3.pdf
79
docs3: NEWS.3.rds NEWS.3.html NEWS.3.pdf
81
 
80
 
82
NEWS.3.rds: $(srcdir)/NEWS.3.Rd
81
NEWS.3.rds: $(srcdir)/NEWS.3.Rd
Line 95... Line 94...
95
NEWS.3.pdf: NEWS.3.rds
94
NEWS.3.pdf: NEWS.3.rds
96
	@if test -z "$(PDFLATEX)"; then \
95
	@if test -z "$(PDFLATEX)"; then \
97
	  $(ECHO) "'pdflatex' is needed to make NEWS.3.pdf but is missing on your system."; \
96
	  $(ECHO) "'pdflatex' is needed to make NEWS.3.pdf but is missing on your system."; \
98
	else \
97
	else \
99
	 $(ECHO) "creating NEWS.3.pdf"; \
98
	 $(ECHO) "creating NEWS.3.pdf"; \
100
	 $(ECHO) 'options(warn=1);tools:::Rd2pdf_NEWS_in_Rd("NEWS.3.rds", "NEWS.3.pdf")' | \
99
	 $(ECHO) 'options(warn=1);tools:::Rd2pdf_NEWS_in_Rd("NEWS.3.rds", "NEWS.3.pdf")' |  $(R_EXE) || rm $*; \
101
	 TEXINPUTS="$(top_srcdir)/share/texmf/tex/latex:$$TEXINPUTS" $(R_EXE) || rm $*; \
-
 
102
	fi
100
	fi
103
 
101
 
104
## NEWS.2.html ships as doc/html/NEWS.2.html in the sources.
102
## NEWS.2.html ships as doc/html/NEWS.2.html in the sources.
105
docs2: NEWS.2.rds NEWS.2.html NEWS.2.pdf
103
docs2: NEWS.2.rds NEWS.2.html NEWS.2.pdf
106
 
104
 
Line 121... Line 119...
121
NEWS.2.pdf: NEWS.2.rds
119
NEWS.2.pdf: NEWS.2.rds
122
	@if test -z "$(PDFLATEX)"; then \
120
	@if test -z "$(PDFLATEX)"; then \
123
	  $(ECHO) "'pdflatex' is needed to make NEWS.2.pdf but is missing on your system."; \
121
	  $(ECHO) "'pdflatex' is needed to make NEWS.2.pdf but is missing on your system."; \
124
	else \
122
	else \
125
	 $(ECHO) "creating NEWS.2.pdf"; \
123
	 $(ECHO) "creating NEWS.2.pdf"; \
126
	 $(ECHO) 'options(warn=1);tools:::Rd2pdf_NEWS_in_Rd("NEWS.2.rds", "NEWS.2.pdf")' | \
124
	 $(ECHO) 'options(warn=1);tools:::Rd2pdf_NEWS_in_Rd("NEWS.2.rds", "NEWS.2.pdf")' |  $(R_EXE) || rm $*; \
127
	 TEXINPUTS="$(top_srcdir)/share/texmf/tex/latex:$$TEXINPUTS" $(R_EXE) || rm $*; \
-
 
128
	fi
125
	fi
129
 
126
 
130
 
127
 
131
install: install-message installdirs install-sources install-sources2 install-man
128
install: install-message installdirs install-sources install-sources2 install-man
132
	@for d in $(SUBDIRS); do \
129
	@for d in $(SUBDIRS); do \