# 'make info' produces info files, as does 'make texinfo' # 'make dv' produces dvi files (and lots of crap) # 'make dvi' produces dvi files and lots of crap, then erases the crap # 'make all' produces both info and dvi files, and cleans up afterwards # 'make install' copies the info files to /usr/local/info (or the value # of INFODIR, if you change it) # 'make html' produces html files (but requires a perl script: texi2html) # to get html files, change the next variable to point to the perl # script texi2html. Also, if you run this by typing 'perl texi2html', # then the variable PERL should be set to perl. If you run it by # typing 'texi2html', then the variable PERL should be set to nothing: # PERL= # TEXI2HTML=texi2html PERL=perl # TEXI2DVI=texi2dvi MAKEINFO=makeinfo TEXI2FLAG=-menu -split_chapter INFODIR=/usr/local/info all: texinfo dv clean info: texinfo texinfo: $(MAKEINFO) ultra.texi; $(MAKEINFO) light.texi dv: $(TEXI2DVI) light.texi; $(TEXI2DVI) ultra.texi dvi: dv clean html: $(PERL) $(TEXI2HTML) $(TEXI2FLAG) light.texi; \ $(PERL) $(TEXI2HTML) $(TEXI2FLAG) ultra.texi clean: 'rm' -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.fns *.cps *.vrs distclean: 'rm' -f *.info *.dvi install: cp ultra.info $(INFODIR) cp light.info $(INFODIR)