$NetBSD: patch-aa,v 1.5 2003/03/01 03:49:51 uebayasi Exp $ --- Makefile.orig Mon Nov 25 23:43:16 2002 +++ Makefile @@ -10,7 +10,7 @@ ##---------------------------------------------------------------------- # Where local software is found -prefix=/usr/local +prefix=${PREFIX} # Where info files go. infodir = $(prefix)/info @@ -22,7 +22,7 @@ aucdir=$(lispdir)/auctex # Name of your emacs binary -EMACS=emacs +EMACS=${EMACS_BIN} ##---------------------------------------------------------------------- ## YOU MAY NEED TO EDIT THESE @@ -108,17 +108,17 @@ all: lisp lisp: - $(ELC) $(AUCSRC) $(STYLESRC) + -$(ELC) $(AUCSRC) $(STYLESRC) -some: $(AUCELC) $(STYLESRC:.el=.elc) +some: -$(AUCELC) $(STYLESRC:.el=.elc) -install: install-lisp +install: install-lisp install-info contrib: - $(ELC) bib-cite.el - $(ELC) font-latex.el -# $(ELC) tex-jp.el # Doesn't compile without MULE -# $(ELC) hilit-LaTeX.el # Doesn't compile without X + -$(ELC) bib-cite.el + -$(ELC) font-latex.el +# -$(ELC) tex-jp.el # Doesn't compile without MULE +# -$(ELC) hilit-LaTeX.el # Doesn't compile without X install-lisp: some if [ ! -d $(lispdir) ]; then mkdir $(lispdir); else true; fi ; @@ -159,7 +159,7 @@ .el.elc: - $(ELC) $< + -$(ELC) $< clean: rm -rf *~ #*# lex.yy.c idetex auctex