Rev 7002 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
## ${R_HOME}/doc/manual/MakefileVPATH = @srcdir@srcdir = @srcdir@top_srcdir = @top_srcdir@top_builddir = ../..subdir = doc/manualinclude $(top_builddir)/Makeconfdistdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)DISTFILES = \EQN README \Makefile.in Makefile.win \R-defs.texi R-exts.texi dir texinfo.tex \Rd.sty lib2tex.in \omsaer.fd omsaett.fd omscmtt.fd \refman.top.in refman.botSUBDIRS = ae pdfMAKEINFO = @MAKEINFO@TEXI2DVI = $(top_srcdir)/tools/texi2dviTEXI2PDF = $(TEXI2DVI) --pdfPDFLATEX = @PDFLATEX@infodir = @infodir@INSTALL_INFO = @INSTALL_INFO@# set the next to `.' if your LaTeX lacks the ae font packageAE = @AE@# set the next to `ae' to omit the hyperlinksPDF = pdfpkgsrcs = $(R_PKGS:=-pkg.tex).SUFFIXES:.SUFFIXES: .dvi .info .texi .pdfall: Makefile lib2tex R dviMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status@cd $(top_builddir) && \CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \$(SHELL) ./config.statuslib2tex: $(srcdir)/lib2tex.in $(top_builddir)/config.status@cd $(top_builddir) && \CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \$(SHELL) ./config.status@chmod +x $@R:@if [ "$(srcdir)" != "." ]; then \$(MAKE) rhome=$(top_builddir) install-tex; \fi.texi.dvi:TEXINPUTS="$(srcdir):$$TEXINPUTS" $(TEXI2DVI) $<.texi.info:$(MAKEINFO) -I$(srcdir) $<.texi.pdf:TEXINPUTS="$(srcdir):$$TEXINPUTS" $(TEXI2PDF) $<dvi: refman.dvi R-exts.dvirefman.dvi: refman.tex version.tex $(pkgsrcs) $(srcdir)/Rd.sty@echo "LaTeX documentation: Reference Index ..."@rm -f *.aux refman.toc refman.ind@TEXINPUTS="$(srcdir)/$(AE):$(srcdir):$$TEXINPUTS" \$(LATEX) '\nonstopmode\input{refman.tex}'@$(MAKEINDEX) refman@TEXINPUTS="$(srcdir)/$(AE):$(srcdir):$$TEXINPUTS" \$(LATEX) '\nonstopmode\input{refman.tex}'refman.tex: lib2tex refman.top $(srcdir)/refman.bot@echo "creating $(subdir)/$@"@(cat refman.top; \for p in $(R_PKGS); do echo "\\input{$${p}-pkg.tex}"; done; \cat $(srcdir)/refman.bot) > $@refman.top: $(srcdir)/refman.top.in $(top_builddir)/config.status@cd $(top_builddir) && \CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \$(SHELL) ./config.statusversion.tex: $(top_srcdir)/date-stamp $(top_srcdir)/VERSION@echo "creating $(subdir)/$@"@(v=`cat $(top_srcdir)/VERSION`; \y=`cut -d/ -f1 < $(top_srcdir)/date-stamp`; \m=`cut -d/ -f2 < $(top_srcdir)/date-stamp`; \d=`cut -d/ -f3 < $(top_srcdir)/date-stamp`; \echo "$${v} ($${m} $${d}, $${y})") > $@%-pkg.tex: FORCE@echo "Collecting components of $@ ..."@cd $(top_builddir)/src/library && \OPTS="--latex" $(MAKE) PKGS="$*" DOCS./lib2tex $*FORCE:R-exts.dvi: R-exts.texi version.texi $(srcdir)/texinfo.texversion.texi: $(top_srcdir)/VERSION@echo "creating $(subdir)/$@"@(v=`sed 's/\([^ ]*\).*/\1/' $(top_srcdir)/VERSION`; \echo "@set VERSION $${v}" > $@)info: R-exts.infoR-exts.info: R-exts.texi version.texipdf: refman.pdf R-exts.pdfrefman.pdf: refman.tex version.tex $(pkgsrcs) $(srcdir)/$(PDF)/Rd.sty@echo "PDF LaTeX documentation: Reference Index ..."@rm -f *.aux refman.toc refman.ind@TEXINPUTS="$(srcdir)/$(PDF):$(srcdir):$$TEXINPUTS" \$(PDFLATEX) '\nonstopmode\input{refman.tex}'@$(MAKEINDEX) refman@TEXINPUTS="$(srcdir)/$(PDF):$(srcdir):$$TEXINPUTS" \$(PDFLATEX) '\nonstopmode\input{refman.tex}'@TEXINPUTS="$(srcdir)/$(PDF):$(srcdir):$$TEXINPUTS" \$(PDFLATEX) '\nonstopmode\input{refman.tex}'R-exts.pdf: R-exts.texi version.texi $(srcdir)/texinfo.texinstall: installdirs install-tex@echo "Installing doc/manual ..."installdirs:@$(MKINSTALLDIRS) $(rhome)/doc/manualinstall-strip: installinstall-dvi: dvi@$(MKINSTALLDIRS) $(rhome)/doc/dvi@for f in *.dvi; do \$(INSTALL_DATA) $${f} $(rhome)/doc/dvi; \doneinstall-info: info $(infodir)/dir@for f in R-exts.info*; do \$(INSTALL_DATA) $${f} $(infodir); \done@$(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/R-exts.info \|| echo "You need to adjust $(infodir)/dir manually"install-pdf: pdf@$(MKINSTALLDIRS) $(rhome)/doc/pdf@for f in *.pdf; do \$(INSTALL_DATA) $${f} $(rhome)/doc/pdf; \doneinstall-tex:@for f in $(srcdir)/Rd.sty; do \$(INSTALL_DATA) $${f} $(rhome)/doc/manual ; \done$(infodir)/dir:@$(MKINSTALLDIRS) -p $(infodir)$(INSTALL_DATA) $(srcdir)/dir $(infodir)uninstall:@echo "Uninstalling doc/manual ..."@rm -rf $(rhome)/doc/manualuninstall-dvi:@-rm -f $(rhome)/doc/dvi/*@-rmdir $(rhome)/doc/dviuninstall-info:@$(INSTALL_INFO) --remove \--info-dir=$(infodir) $(infodir)/R-exts.info \|| echo "You need to adjust $(infodir)/dir manually"@rm -f $(infodir)/R-exts.info*uninstall-pdf:@-rm -f $(rhome)/doc/pdf/*@-rmdir $(rhome)/doc/pdfmostlyclean: cleanclean:@echo cleaning in doc/manual@if [ "$(srcdir)" != "." ]; then \rm -f Rd.sty Rd2dvi.tex; \fi@-rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.info* *.ky *.kys \*.log *.out *.pdf *.pg *.pgs *.ps *.ps-2 *.tmp *.toc *.tp \*.vr *.vrs *-pkg.tex refman.i?? refman.tex version.tex \version.texidistclean: clean@-rm -f Makefile lib2tex refman.topmaintainer-clean: distcleandistdir: $(DISTFILES)@for f in $(DISTFILES); do \test -f $(distdir)/$${f} \|| ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \|| cp -p $(srcdir)/$${f} $(distdir)/$${f}; \done@for d in $(SUBDIRS) man; do \if test -d $(srcdir)/$${d}; then \((cd $(srcdir); $(TAR) -c -f - --exclude=CVS $${d}) \| (cd $(distdir); $(TAR) -x -f -)) \|| exit 1; \fi; \done