### Makefile - for DOCUMENTATION (./doc) of ESS distribution. ### ### Maintainer: A.J. Rossini ### For ESS Version: 5.x.y ### ### File: $Revision: 1.37 $. ### ## Before making changes here, please take a look at Makeconf include ../Makeconf # program to convert .texi{nfo} to .html TEXI2HTML = texi2html -verbose -iso SPLITCHAP = -split_chapter -menu -glossary # To obtain sorted indices run: "texindex ess.??". #### no user servicable parts beyond this point #### TEXISRC = announc.texi authors.texi bugrept.texi bugs.texi bugs-ms.texi \ credits.texi currfeat.texi ess.texi getting.texi help-s.texi \ help-sas.texi inst_cvs.texi inst_tar.texi license.texi mailing.texi \ newfeat.texi readme.texi requires.texi stabilty.texi ../VERSION ### Targets -- all : info text html dvi pdf install : $(INFODIR)/ess.info info : ess.info text : ../README ../ANNOUNCE docs : install text html : html/ess_toc.html html/readme_toc.html dvi : ess.dvi readme.dvi pdf : ess.pdf readme.pdf ps : ess.ps readme.ps ess.dvi : $(TEXISRC); texi2dvi $< ess.pdf : $(TEXISRC); pdftex $<; pdftex $< ess.ps : ess.dvi; dvips $< -o $@ readme.dvi : $(TEXISRC); texi2dvi $< readme.pdf : $(TEXISRC); pdftex $<; pdftex $< readme.ps : readme.dvi; dvips $< -o $@ clean : rm -f texput.log ess.aux ess.cp ess.ky ess.log ess.pg ess.toc \ ess.tp ess.vr ess.cps ess.fns ess.vrs ess.fn \ readme.aux readme.cp readme.ky readme.log readme.pg readme.toc \ readme.tp readme.vr readme.cps readme.fns readme.vrs readme.fn distclean : clean rm -f ess.dvi ess.ps ess.pdf readme.dvi readme.ps readme.pdf rm -fr html ../README: $(TEXISRC) $(MAKETXT) readme.texi \ | perl -pe 'last if /^Concept Index/; print "For INSTALLATION, see way below.\n\n" if /^\s*ESS grew out of/' \ > ../README ../ANNOUNCE: $(TEXISRC) $(MAKETXT) announc.texi \ | perl -pe 'last if /^Concept Index/;' > ../ANNOUNCE README.Microsoft : README.Microsoft.texi $(MAKETXT) README.Microsoft.texi \ | perl -pe 'last if /^Concept Index/;' > README.Microsoft ### File Dependencies ess.info: $(TEXISRC) @echo "making Info documentation..." $(MAKEINFO) ess.texi $(INFODIR)/ess.info: ess.info $(INSTALL) ess.info* $(INFODIR) test -f $(INFODIR)/dir || $(INSTALL) dir $(INFODIR) ## TO DO: ess_toc.html & readme_toc.html should be merged into index.html html/ess_toc.html: $(TEXISRC) @echo "making HTML documentation..." $(TEXI2HTML) $(SPLITCHAP) ess.texi $(INSTALL) ess_toc.html index.html $(INSTALL) ess*.html index.html html html/readme_toc.html: $(TEXISRC) $(TEXI2HTML) readme.texi $(INSTALL) readme*.html html