summaryrefslogtreecommitdiff
path: root/print/auctex/patches/patch-aa
blob: 04fc9900617d7f096cd92abcccebb44c301690ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
$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