# # ${R_HOME}/doc/html/search/Makefile VPATH = @srcdir@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = ../../.. subdir = doc/html/search include $(top_builddir)/Makeconf distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) SOURCES_JAVA = \ IndexEntry.java \ IndexStream.java \ IndexTable.java \ SearchEngine.java \ Tracer.java \ Value.java INSTFILES = \ $(SOURCES_JAVA:.java=.class) \ SearchEngine-foot.html \ SearchEngine-head.html \ SearchObject.html DISTFILES = Makefile.in $(SOURCES_JAVA) $(INSTFILES) OBJECTS = \ SearchEngine.html \ index.txt all: Makefile R Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @cd $(top_builddir) && \ CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \ $(SHELL) ./config.status R: Makefile $(OBJECTS) @if [ "$(srcdir)" != "." ]; then \ $(MAKE) rhome=$(top_builddir) install-sources; \ fi SearchEngine.html: \ $(srcdir)/SearchEngine-head.html \ $(srcdir)/SearchEngine-foot.html \ $(top_srcdir)/doc/KEYWORDS.db @cat $(srcdir)/SearchEngine-head.html > $@ @-$(PERL) $(top_srcdir)/tools/keywords2html.pl \ $(top_srcdir)/doc/KEYWORDS.db >> $@ @cat $(srcdir)/SearchEngine-foot.html >> $@ ## FIXME: ## This is created via ## (cd $(top_builddir)/src/library && make DOCS) index.txt: @touch $@ install: install-message installdirs install-sources @for f in $(OBJECTS); do \ $(INSTALL_DATA) $${f} $(rhome)/$(subdir); \ done installdirs: @$(MKINSTALLDIRS) $(rhome)/$(subdir) install-message: @echo "installing $(subdir) ..." install-sources: @for f in $(INSTFILES); do \ $(INSTALL_DATA) $(srcdir)/$${f} $(rhome)/$(subdir); \ done install-strip: install uninstall: @echo "uninstalling $(subdir) ..." @rm -rf $(rhome)/$(subdir) mostlyclean: clean: @if [ "$(srcdir)" != "." ]; then \ rm -f $(INSTFILES); \ fi @rm -f $(OBJECTS) distclean: clean @rm -f Makefile maintainer-clean: distclean distdir: $(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