0
|
1 #
|
|
2 # Makefile for compiling and installing EDIFF
|
|
3 #
|
|
4
|
|
5 # -------- USER MAY NEED TO CHANGE THESE ---------------------
|
|
6 # To compile under XEmacs, uncomment XEmacs-specific versions of the
|
|
7 # variables VERSION, EMACS, DATADIR and comment out the Emacs-specific
|
|
8 # versions.
|
|
9
|
12
|
10 VERSION = 19.34
|
0
|
11 EMACS = emacs-$(VERSION)
|
|
12 #VERSION = 19.14
|
|
13 #EMACS = xemacs-$(VERSION)
|
|
14 PREFIX = /usr/local
|
|
15 DATADIR = $(PREFIX)/share
|
|
16 #DATADIR = $(PREFIX)/lib
|
|
17 LISPDIR = $(DATADIR)/emacs/site-lisp
|
|
18 INFODIR = $(PREFIX)/info
|
|
19 ETCDIR = $(DATADIR)/emacs/$(VERSION)/etc
|
|
20
|
|
21 # --------- YOU PROBABLY DON'T WANT TO CHANGE THESE ----------------
|
|
22 TeX = tex
|
|
23 TEXINDEX = texindex
|
|
24 MAKEINFO = makeinfo
|
|
25 INSTALL = install
|
|
26
|
|
27 # --------- ONLY AUTHORIZED PERSONNEL BEYOND THIS POINT!!! ------------
|
12
|
28 EDIFF = ediff-init.el ediff-help.el ediff-diff.el ediff-merg.el \
|
|
29 ediff-wind.el ediff-util.el ediff-mult.el ediff-vers.el \
|
16
|
30 ediff-ptch.el ediff.el ediff-hook.el ediff-tbar.el
|
12
|
31 EDIFFelc = ediff-init.elc ediff-help.elc ediff-diff.elc ediff-merg.elc \
|
|
32 ediff-wind.elc ediff-util.elc ediff-mult.elc ediff-vers.elc \
|
16
|
33 ediff-ptch.elc ediff.elc ediff-hook.elc ediff-tbar.elc
|
0
|
34
|
|
35
|
|
36 all: hello elc goodbye dvi info
|
|
37
|
|
38 elc: $(EDIFFelc)
|
|
39
|
|
40 goodbye:
|
|
41 @echo ""
|
|
42 @echo ""
|
|
43 @echo ""
|
|
44 @echo " The above compiler warnings were normal -- don't panic!"
|
|
45 @echo ""
|
|
46 @echo " Please report bugs via M-x ediff-submit-report"
|
|
47 @echo ""
|
|
48 @echo ""
|
|
49 @echo ""
|
|
50
|
|
51 hello:
|
|
52 @echo ""
|
|
53 @echo ""
|
|
54 @echo "Byte compiling using Emacs 19"
|
|
55 @echo "Use make EMACS=xemacs to compile under XEmacs"
|
|
56 @echo ""
|
|
57 @echo ""
|
|
58 @echo " The following compiler warnings are normal -- don't panic!"
|
|
59 @echo ""
|
|
60 @echo ""
|
|
61 @echo ""
|
|
62
|
|
63 ediff-init.elc: ediff-init.el
|
|
64 @echo ""
|
|
65 $(EMACS) -batch -f batch-byte-compile ediff-init.el
|
|
66
|
12
|
67 ediff-help.elc: ediff-help.el
|
|
68 @echo ""
|
|
69 $(EMACS) -batch -f batch-byte-compile ediff-help.el
|
|
70
|
0
|
71 ediff-hook.elc: ediff-hook.el
|
|
72 @echo ""
|
|
73 $(EMACS) -batch -f batch-byte-compile ediff-hook.el
|
|
74
|
12
|
75 ediff-tbar.elc: ediff-tbar.el
|
|
76 @echo ""
|
14
|
77 $(EMACS) -batch -f batch-byte-compile ediff-tbar.el
|
12
|
78
|
0
|
79 ediff-diff.elc: ediff-init.el ediff-diff.el
|
|
80 @echo ""
|
14
|
81 $(EMACS) -batch -f batch-byte-compile ediff-diff.el
|
0
|
82
|
|
83 ediff-merg.elc: ediff-init.el ediff-merg.el
|
|
84 @echo ""
|
14
|
85 $(EMACS) -batch -f batch-byte-compile ediff-merg.el
|
0
|
86
|
|
87 ediff-mult.elc: ediff-init.el ediff-mult.el
|
|
88 @echo ""
|
14
|
89 $(EMACS) -batch -f batch-byte-compile ediff-mult.el
|
0
|
90
|
|
91 ediff-vers.elc: ediff-init.el ediff-vers.el
|
|
92 @echo ""
|
14
|
93 $(EMACS) -batch -f batch-byte-compile ediff-vers.el
|
0
|
94
|
|
95 ediff-ptch.elc: ediff-init.el ediff-ptch.el
|
|
96 @echo ""
|
14
|
97 $(EMACS) -batch -f batch-byte-compile ediff-ptch.el
|
0
|
98
|
|
99 ediff.elc: ediff-init.el ediff.el
|
|
100 @echo ""
|
14
|
101 $(EMACS) -batch -f batch-byte-compile ediff.el
|
0
|
102
|
|
103 ediff-util.elc: ediff-init.el ediff-util.el
|
|
104 @echo ""
|
14
|
105 $(EMACS) -batch -f batch-byte-compile ediff-util.el
|
0
|
106
|
|
107 ediff-wind.elc: ediff-init.el ediff-wind.el
|
|
108 @echo ""
|
14
|
109 $(EMACS) -batch -f batch-byte-compile ediff-wind.el
|
0
|
110
|
|
111 ediff.dvi: ediff.texi
|
|
112 @echo ""
|
|
113 @echo ""
|
|
114 @echo "Making ediff.dvi --- a Printable Version of the Ediff Manual";
|
|
115 @echo ""
|
|
116 $(TeX) ediff.texi
|
|
117 @echo ""
|
|
118 @echo "Indexing "
|
|
119 $(TEXINDEX) ediff.cp
|
|
120 $(TEXINDEX) ediff.fn
|
|
121 $(TEXINDEX) ediff.pg
|
|
122 $(TEXINDEX) ediff.vr
|
|
123 @echo ""
|
|
124 @echo "Texing Again";
|
|
125 $(TeX) ediff.texi
|
|
126 @echo ""
|
|
127
|
|
128 ediff.info: ediff.texi
|
|
129 @echo ""
|
|
130 @echo ""
|
|
131 @echo "Making Info Files for the Ediff Manual"
|
|
132 @echo ""
|
|
133 $(MAKEINFO) ediff.texi
|
|
134 @echo "Info done"
|
|
135
|
|
136 dvi: ediff.dvi
|
|
137
|
|
138 info: ediff.info
|
|
139
|
|
140 install: all
|
|
141 $(INSTALL) -m444 $(EDIFF) $(LISPDIR)
|
|
142 $(INSTALL) -m644 ediff*.elc $(LISPDIR)
|
|
143 $(INSTALL) -m644 ediff.dvi $(ETCDIR)
|
12
|
144 $(INSTALL) -m444 ediff ediff-? $(INFODIR)
|
0
|
145 @echo ""
|
|
146 @echo "Please move ediff.texi to emacs-distribution-directory/man/"
|
|
147 @echo ""
|
|
148
|
|
149 clean:
|
|
150 rm -f ediff*.elc *~ core
|
|
151
|
|
152 distclean: clean
|
14
|
153
|
0
|
154 realclean: clean
|
|
155 rm -f *.dvi ediff.info*
|
|
156 rm -f ediff.aux ediff.cp ediff.cps ediff.fn ediff.fns ediff.ky \
|
|
157 ediff.kys ediff.log ediff.pg ediff.pgs ediff.toc ediff.tp \
|
|
158 ediff.tps ediff.vr ediff.vrs
|