# This file depends on the environment variable LATEXINFO # being already set. LATEXINFO=.. # The name of your DVI to PS filter DVIPS=dvips # The name of your GNU Emacs EMACS=xemacs # The name of your directory to install the binaries # We have an environment variable set which points to the Gnu binary direct. BINDIR=${GNUBINDIR} # Where to install the info files INFODIR=${GNUINFODIR} # Where to install the LaTeXinfo example TEXDIR=${GNUSHAREDIR}/tex INSTALL = install -c -m 755 INSTALLDATA = install -c -m 644 ########## End of user configurable options ################ # The name of the file PROGRAM=latexinfo2 MANUAL=latexinfo2 ELISP=${LATEXINFO}/elisp DOC=${LATEXINFO}/manual all: $(MANUAL).dvi $(MANUAL).dvi: ${LATEXINFO}/C/latexindex $(MANUAL).tex $(MANUAL).bib latex2dvi $(MANUAL).tex $(MANUAL).ps: $(MANUAL).dvi $(DVIPS) $(MANUAL) install:: -mkdir $(BINDIR) $(INSTALL) latex2dvi $(BINDIR) -mkdir $(INFODIR) $(INSTALLDATA) $(MANUAL).info* $(INFODIR) -mkdir $(TEXDIR) $(INSTALLDATA) lnfo-sample.tex $(TEXDIR) clean: rm -f $(MANUAL).log $(MANUAL).blg make.el *~ #~ veryclean: rm -f $(MANUAL).ps $(MANUAL).dvi