Skip to content

Commit 264507f

Browse files
author
kalibera
committed
Fix building of rw-FAQ (amends 85606, with Kurt Hornik).
git-svn-id: https://svn.r-project.org/R/trunk@85813 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 8a3fc65 commit 264507f

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

doc/manual/Makefile.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -464,20 +464,20 @@ RVER = `cut -d' ' -f1 $(top_srcdir)/VERSION | $(SED) -n 1p`
464464
RPREFIX = `../../bin$(R_ARCH)/Rscript $(top_srcdir)/src/gnuwin32/fixed/rwver.R`
465465
SEDVER = -e s/@RVER@/$(RVER)/g -e s/@RWVER@/$(RPREFIX)/g
466466

467-
rw-FAQ.html: rw-FAQ.texi $(top_srcdir)/VERSION $(srcdir)/Rman.css
467+
rw-FAQ.html: rw-FAQ.texi $(top_srcdir)/VERSION $(srcdir)/Rman.css $(srcdir)/R-defs.texi
468468
@echo "making rw-FAQ.html"
469469
@$(SED) $(SEDVER) $< > tmp_html.texi
470-
@$(TEXI2ANY) --no-split --html --no-headers --number-sections --css-include=$(srcdir)/Rman.css -o $@ tmp_html.texi
470+
@$(TEXI2ANY) -I$(srcdir) --no-split --html --no-headers --number-sections --css-include=$(srcdir)/Rman.css -o $@ tmp_html.texi
471471
@rm -f tmp_html.texi
472472

473-
rw-FAQ: rw-FAQ.texi $(top_srcdir)/VERSION
473+
rw-FAQ: rw-FAQ.texi $(top_srcdir)/VERSION $(srcdir)/R-defs.texi
474474
@echo "making rw-FAQ"
475475
@$(SED) $(SEDVER) $< > tmp_plain.texi
476-
@$(TEXI2ANY) --no-headers --number-sections -o $@ tmp_plain.texi
476+
@$(TEXI2ANY) -I$(srcdir) --no-headers --number-sections -o $@ tmp_plain.texi
477477
@rm -f tmp_plain.texi
478478

479-
rw-FAQ.pdf: rw-FAQ.texi $(top_srcdir)/VERSION
479+
rw-FAQ.pdf: rw-FAQ.texi $(top_srcdir)/VERSION $(srcdir)/R-defs.texi
480480
@$(SED) $(SEDVER) $< > tmp_pdf.texi
481-
@$(TEXI2PDF) tmp_pdf.texi
481+
@TEXINPUTS="$(srcdir):$$TEXINPUTS" $(TEXI2PDF) tmp_pdf.texi
482482
@mv tmp_pdf.pdf $@
483483
@rm tmp_pdf.*

doc/manual/Makefile.win

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,16 +213,16 @@ SEDVER = -e s/@RVER@/$(RVER)/g -e s/@RWVER@/$(RPREFIX)/g
213213
FAQ: rw-FAQ ../html/rw-FAQ.html
214214

215215
ifneq "$(TEXI2ANY)" "missing"
216-
../html/rw-FAQ.html: rw-FAQ.texi $(top_srcdir)/VERSION Rman.css
216+
../html/rw-FAQ.html: rw-FAQ.texi $(top_srcdir)/VERSION Rman.css $(srcdir)/R-defs.texi
217217
@echo "making rw-FAQ.html"
218218
@$(SED) $(SEDVER) $< > tmp_html.texi
219-
@$(TEXI2ANY) --no-split --html --no-headers --number-sections --css-include=Rman.css -o $@ tmp_html.texi
219+
@$(TEXI2ANY) -I$(srcdir) --no-split --html --no-headers --number-sections --css-include=Rman.css -o $@ tmp_html.texi
220220
@rm -f tmp_html.texi
221221

222-
rw-FAQ: rw-FAQ.texi $(top_srcdir)/VERSION
222+
rw-FAQ: rw-FAQ.texi $(top_srcdir)/VERSION $(srcdir)/R-defs.texi
223223
@echo "making rw-FAQ"
224224
@$(SED) $(SEDVER) $< > tmp_plain.texi
225-
@$(TEXI2ANY) --no-headers --number-sections -o $@ tmp_plain.texi
225+
@$(TEXI2ANY) -I$(srcdir) --no-headers --number-sections -o $@ tmp_plain.texi
226226
@rm -f tmp_plain.texi
227227
else
228228
../html/rw-FAQ.html: rw-FAQ.texi $(top_srcdir)/VERSION Rman.css
@@ -232,7 +232,7 @@ rw-FAQ: rw-FAQ.texi $(top_srcdir)/VERSION
232232
@$(ECHO) "texi2any is not available"
233233
endif
234234

235-
rw-FAQ.pdf: rw-FAQ.texi $(top_srcdir)/VERSION
235+
rw-FAQ.pdf: rw-FAQ.texi $(top_srcdir)/VERSION $(srcdir)/R-defs.texi
236236
@$(SED) $(SEDVER) $< > tmp_pdf.texi
237237
@$(TEXI2DVI) --pdf tmp_pdf.texi
238238
@$(TEXI2DVI) --pdf tmp_pdf.texi

doc/manual/rw-FAQ.texi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
@finalout
1313

14+
@include R-defs.texi
15+
1416
@macro newchap{}
1517
@ifinfo
1618
@sp 1

0 commit comments

Comments
 (0)