# This file depends on the environment variable LATEXINFO # being already set. # The name of your GNU Emacs EMACS=xemacs # The name of your directory to install the compiled elisp files # We have an environment variable set which points to the Gnu binary direct. ELISPDIR=${GNUSHAREDIR}/emacs/latexinfo # Where to install the info files INFODIR=${GNUINFODIR} INSTALL = install -c -m 755 INSTALLDATA = install -c -m 644 ########## End of user configurable options ################ # The name of the file MANUAL=latexinfo2 PROGRAM=latexinfo2 ELISP=${LATEXINFO}/elisp DOC=${LATEXINFO}/manual ########## The above are overridden by the contents of ../config.status include ../config.status all: $(DOC)/$(MANUAL).info $(DOC)/$(MANUAL).info: $(DOC)/$(MANUAL).tex $(ELISP)/$(PROGRAM).el rm -f make.el sed -e "s+MANUAL+$(DOC)/$(MANUAL)+" \ -e "s+LATEXINFO+$(LATEXINFO)+" \ -e "s+ELISP+$(ELISP)+" \ -e "s+PROGRAM+$(ELISP)/$(PROGRAM)+" makeinfo.el > make.el $(EMACS) -batch -q -l $(ELISP)/make.el install:: all -mkdir $(ELISPDIR) $(INSTALLDATA) *.elc $(ELISPDIR) clean: rm -f *.elc *~ #~