| Line 90... |
Line 90... |
| 90 |
|
90 |
|
| 91 |
docs: html
|
91 |
docs: html
|
| 92 |
|
92 |
|
| 93 |
.texi.html:
|
93 |
.texi.html:
|
| 94 |
@if test -z "$(TEXI2ANY)"; then \
|
94 |
@if test -z "$(TEXI2ANY)"; then \
|
| 95 |
$(ECHO) "'texi2any' v6.1 or later needed to make HTML docs but missing on your system." ; \
|
95 |
$(ECHO) "'texi2any' v6.8 or later needed to make HTML docs but missing on your system." ; \
|
| 96 |
$(ECHO) "file $@ will be missing and linked from CRAN"; \
|
96 |
$(ECHO) "file $@ will be missing and linked from CRAN"; \
|
| 97 |
else \
|
97 |
else \
|
| 98 |
$(ECHO) "creating doc/manual/$@"; \
|
98 |
$(ECHO) "creating doc/manual/$@"; \
|
| 99 |
$(TEXI2HTML) -I$(srcdir) \
|
99 |
$(TEXI2HTML) -I$(srcdir) \
|
| 100 |
-c TOP_NODE_UP_URL=../html/index.html \
|
100 |
-c TOP_NODE_UP_URL=../html/index.html \
|
| Line 105... |
Line 105... |
| 105 |
rm -f $@.tmp; \
|
105 |
rm -f $@.tmp; \
|
| 106 |
fi
|
106 |
fi
|
| 107 |
|
107 |
|
| 108 |
.texi.info:
|
108 |
.texi.info:
|
| 109 |
@if test -z "$(TEXI2ANY)"; then \
|
109 |
@if test -z "$(TEXI2ANY)"; then \
|
| 110 |
$(ECHO) "ERROR: 'texi2any' v6.1 or later needed but missing on your system."; \
|
110 |
$(ECHO) "ERROR: 'texi2any' v6.8 or later needed but missing on your system."; \
|
| 111 |
exit 1; \
|
111 |
exit 1; \
|
| 112 |
fi
|
112 |
fi
|
| 113 |
$(TEXI2ANY) --enable-encoding -I$(srcdir) $<
|
113 |
$(TEXI2ANY) --enable-encoding -I$(srcdir) $<
|
| 114 |
|
114 |
|
| 115 |
.texi.pdf:
|
115 |
.texi.pdf:
|
| Line 355... |
Line 355... |
| 355 |
install-images-pdf: installdirs
|
355 |
install-images-pdf: installdirs
|
| 356 |
@$(MKINSTALLDIRS) "$(DESTDIR)$(rdocdir)/manual/images"
|
356 |
@$(MKINSTALLDIRS) "$(DESTDIR)$(rdocdir)/manual/images"
|
| 357 |
@-for f in $(srcdir)/images/*.pdf; do \
|
357 |
@-for f in $(srcdir)/images/*.pdf; do \
|
| 358 |
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rdocdir)/manual/images"; \
|
358 |
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rdocdir)/manual/images"; \
|
| 359 |
done
|
359 |
done
|
| 360 |
## if there is no makeinfo >= 6.1 then there are no html pages
|
360 |
## if there is no (recent enough) texi2any, then there are no html pages
|
| 361 |
install-html: installdirs
|
361 |
install-html: installdirs
|
| 362 |
@for f in $(OBJECTS_HTML); do \
|
362 |
@for f in $(OBJECTS_HTML); do \
|
| 363 |
if test -f $${f} ; then \
|
363 |
if test -f $${f} ; then \
|
| 364 |
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rdocdir)/manual"; \
|
364 |
$(INSTALL_DATA) $${f} "$(DESTDIR)$(rdocdir)/manual"; \
|
| 365 |
fi \
|
365 |
fi \
|
| Line 432... |
Line 432... |
| 432 |
((cd $(srcdir); $(TAR) -c -f - $(DISTDIR_TAR_EXCLUDE) $${d}) \
|
432 |
((cd $(srcdir); $(TAR) -c -f - $(DISTDIR_TAR_EXCLUDE) $${d}) \
|
| 433 |
| (cd $(distdir); $(TAR) -x -f -)) \
|
433 |
| (cd $(distdir); $(TAR) -x -f -)) \
|
| 434 |
|| exit 1; \
|
434 |
|| exit 1; \
|
| 435 |
done
|
435 |
done
|
| 436 |
@if test -z "$(TEXI2ANY)"; then \
|
436 |
@if test -z "$(TEXI2ANY)"; then \
|
| 437 |
$(ECHO) "ERROR: 'texi2any' v6.1 or later needed but missing on your system."; \
|
437 |
$(ECHO) "ERROR: 'texi2any' v6.8 or later needed but missing on your system."; \
|
| 438 |
exit 1; \
|
438 |
exit 1; \
|
| 439 |
fi
|
439 |
fi
|
| 440 |
# $(distdir)/doc/html has already been created
|
440 |
# $(distdir)/doc/html has already been created
|
| 441 |
# NB: the pre-built R-admin.html is referenced from INSTALL and configure
|
441 |
# NB: the pre-built R-admin.html is referenced from INSTALL and configure
|
| 442 |
@$(TEXI2HTML) --no-headers --number-sections \
|
442 |
@$(TEXI2HTML) --no-headers --number-sections \
|
| Line 446... |
Line 446... |
| 446 |
## referenced from the top-level README
|
446 |
## referenced from the top-level README
|
| 447 |
front-matter: ${top_builddir}/doc/RESOURCES ${top_builddir}/doc/FAQ
|
447 |
front-matter: ${top_builddir}/doc/RESOURCES ${top_builddir}/doc/FAQ
|
| 448 |
|
448 |
|
| 449 |
${top_builddir}/doc/RESOURCES: $(srcdir)/resources.texi
|
449 |
${top_builddir}/doc/RESOURCES: $(srcdir)/resources.texi
|
| 450 |
@if test -z "$(TEXI2ANY)"; then \
|
450 |
@if test -z "$(TEXI2ANY)"; then \
|
| 451 |
$(ECHO) "'texi2any' v6.1 or later needed to make HTML docs but missing on your system." ; \
|
451 |
$(ECHO) "'texi2any' v6.8 or later needed to make HTML docs but missing on your system." ; \
|
| 452 |
$(ECHO) "file doc/RESOURCES will be missing"; \
|
452 |
$(ECHO) "file doc/RESOURCES will be missing"; \
|
| 453 |
else \
|
453 |
else \
|
| 454 |
$(ECHO) "creating RESOURCES"; \
|
454 |
$(ECHO) "creating RESOURCES"; \
|
| 455 |
$(TEXI2TEXT) $(srcdir)/resources.texi -o $@; \
|
455 |
$(TEXI2TEXT) $(srcdir)/resources.texi -o $@; \
|
| 456 |
fi
|
456 |
fi
|
| 457 |
|
457 |
|
| 458 |
${top_builddir}/doc/FAQ: $(srcdir)/R-FAQ.texi $(srcdir)/R-defs.texi
|
458 |
${top_builddir}/doc/FAQ: $(srcdir)/R-FAQ.texi $(srcdir)/R-defs.texi
|
| 459 |
@if test -z "$(TEXI2ANY)"; then \
|
459 |
@if test -z "$(TEXI2ANY)"; then \
|
| 460 |
$(ECHO) "'texi2any' v6.1 or later needed to make HTML docs but missing on your system." ; \
|
460 |
$(ECHO) "'texi2any' v6.8 or later needed to make HTML docs but missing on your system." ; \
|
| 461 |
$(ECHO) "file doc/FAQ will be missing"; \
|
461 |
$(ECHO) "file doc/FAQ will be missing"; \
|
| 462 |
else \
|
462 |
else \
|
| 463 |
$(ECHO) "creating FAQ"; \
|
463 |
$(ECHO) "creating FAQ"; \
|
| 464 |
$(TEXI2TEXT) $(srcdir)/R-FAQ.texi -o $@; \
|
464 |
$(TEXI2TEXT) $(srcdir)/R-FAQ.texi -o $@; \
|
| 465 |
fi
|
465 |
fi
|
| 466 |
|
466 |
|
| 467 |
html-non-svn: ../html/resources.html
|
467 |
html-non-svn: ../html/resources.html
|
| 468 |
|
468 |
|
| 469 |
../html/resources.html: $(srcdir)/resources.texi
|
469 |
../html/resources.html: $(srcdir)/resources.texi
|
| 470 |
@if test -z "$(TEXI2ANY)"; then \
|
470 |
@if test -z "$(TEXI2ANY)"; then \
|
| 471 |
$(ECHO) "'texi2any' v6.1 or later needed to make HTML docs but missing on your system." ; \
|
471 |
$(ECHO) "'texi2any' v6.8 or later needed to make HTML docs but missing on your system." ; \
|
| 472 |
$(ECHO) "file doc/html/resources.html will be missing"; \
|
472 |
$(ECHO) "file doc/html/resources.html will be missing"; \
|
| 473 |
else \
|
473 |
else \
|
| 474 |
$(ECHO) "creating doc/html/resources.html"; \
|
474 |
$(ECHO) "creating doc/html/resources.html"; \
|
| 475 |
$(TEXI2ANY) --html --no-split --no-headers \
|
475 |
$(TEXI2ANY) --html --no-split --no-headers \
|
| 476 |
--css-include=$(top_srcdir)/doc/html/R.css $(srcdir)/resources.texi -o $@; \
|
476 |
--css-include=$(top_srcdir)/doc/html/R.css $(srcdir)/resources.texi -o $@; \
|