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
|
78
|
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!!! ------------
|
78
|
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 \
|
|
30 ediff-ptch.el ediff.el ediff-hook.el
|
|
31 # ediff-tbar.el
|
|
32 EDIFFelc = ediff-init.elc ediff-help.elc ediff-diff.elc ediff-merg.elc \
|
|
33 ediff-wind.elc ediff-util.elc ediff-mult.elc ediff-vers.elc \
|
|
34 ediff-ptch.elc ediff.elc ediff-hook.elc
|
|
35 # ediff-tbar.elc
|
0
|
36
|
78
|
37 PRELOADS = -l ./ediff-init.el -l ./ediff-help.el -l ./ediff-diff.el \
|
|
38 -l ./ediff-wind.el -l ./ediff-merg.el -l ./ediff-mult.el \
|
|
39 -l ./ediff-util.el -l ./ediff.el
|
|
40 # -l ./ediff-tbar.el
|
0
|
41
|
|
42 all: hello elc goodbye dvi info
|
|
43
|
|
44 elc: $(EDIFFelc)
|
|
45
|
|
46 goodbye:
|
|
47 @echo ""
|
|
48 @echo ""
|
|
49 @echo ""
|
|
50 @echo " The above compiler warnings were normal -- don't panic!"
|
|
51 @echo ""
|
|
52 @echo " Please report bugs via M-x ediff-submit-report"
|
|
53 @echo ""
|
|
54 @echo ""
|
|
55 @echo ""
|
|
56
|
|
57 hello:
|
|
58 @echo ""
|
|
59 @echo ""
|
|
60 @echo "Byte compiling using Emacs 19"
|
|
61 @echo "Use make EMACS=xemacs to compile under XEmacs"
|
|
62 @echo ""
|
|
63 @echo ""
|
|
64 @echo " The following compiler warnings are normal -- don't panic!"
|
|
65 @echo ""
|
|
66 @echo ""
|
|
67 @echo ""
|
|
68
|
|
69 ediff-init.elc: ediff-init.el
|
|
70 @echo ""
|
|
71 $(EMACS) -batch -f batch-byte-compile ediff-init.el
|
|
72
|
78
|
73 ediff-help.elc: ediff-help.el
|
|
74 @echo ""
|
|
75 $(EMACS) -batch -f batch-byte-compile ediff-help.el
|
|
76
|
0
|
77 ediff-hook.elc: ediff-hook.el
|
|
78 @echo ""
|
|
79 $(EMACS) -batch -f batch-byte-compile ediff-hook.el
|
|
80
|
78
|
81 ediff-tbar.elc: ediff-tbar.el
|
|
82 @echo ""
|
|
83 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile ediff-tbar.el
|
|
84
|
0
|
85 ediff-diff.elc: ediff-init.el ediff-diff.el
|
|
86 @echo ""
|
70
|
87 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile ediff-diff.el
|
0
|
88
|
|
89 ediff-merg.elc: ediff-init.el ediff-merg.el
|
|
90 @echo ""
|
70
|
91 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile ediff-merg.el
|
0
|
92
|
|
93 ediff-mult.elc: ediff-init.el ediff-mult.el
|
|
94 @echo ""
|
70
|
95 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile ediff-mult.el
|
0
|
96
|
|
97 ediff-vers.elc: ediff-init.el ediff-vers.el
|
|
98 @echo ""
|
70
|
99 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile ediff-vers.el
|
0
|
100
|
|
101 ediff-ptch.elc: ediff-init.el ediff-ptch.el
|
|
102 @echo ""
|
70
|
103 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile ediff-ptch.el
|
0
|
104
|
|
105 ediff.elc: ediff-init.el ediff.el
|
|
106 @echo ""
|
70
|
107 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile ediff.el
|
0
|
108
|
|
109 ediff-util.elc: ediff-init.el ediff-util.el
|
|
110 @echo ""
|
70
|
111 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile ediff-util.el
|
0
|
112
|
|
113 ediff-wind.elc: ediff-init.el ediff-wind.el
|
|
114 @echo ""
|
70
|
115 $(EMACS) -batch $(PRELOADS) -f batch-byte-compile ediff-wind.el
|
0
|
116
|
|
117 ediff.dvi: ediff.texi
|
|
118 @echo ""
|
|
119 @echo ""
|
|
120 @echo "Making ediff.dvi --- a Printable Version of the Ediff Manual";
|
|
121 @echo ""
|
|
122 $(TeX) ediff.texi
|
|
123 @echo ""
|
|
124 @echo "Indexing "
|
|
125 $(TEXINDEX) ediff.cp
|
|
126 $(TEXINDEX) ediff.fn
|
|
127 $(TEXINDEX) ediff.pg
|
|
128 $(TEXINDEX) ediff.vr
|
|
129 @echo ""
|
|
130 @echo "Texing Again";
|
|
131 $(TeX) ediff.texi
|
|
132 @echo ""
|
|
133
|
|
134 ediff.info: ediff.texi
|
|
135 @echo ""
|
|
136 @echo ""
|
|
137 @echo "Making Info Files for the Ediff Manual"
|
|
138 @echo ""
|
|
139 $(MAKEINFO) ediff.texi
|
|
140 @echo "Info done"
|
|
141
|
|
142 dvi: ediff.dvi
|
|
143
|
|
144 info: ediff.info
|
|
145
|
|
146 install: all
|
|
147 $(INSTALL) -m444 $(EDIFF) $(LISPDIR)
|
|
148 $(INSTALL) -m644 ediff*.elc $(LISPDIR)
|
|
149 $(INSTALL) -m644 ediff.dvi $(ETCDIR)
|
78
|
150 $(INSTALL) -m444 ediff ediff-? $(INFODIR)
|
0
|
151 @echo ""
|
|
152 @echo "Please move ediff.texi to emacs-distribution-directory/man/"
|
|
153 @echo ""
|
|
154
|
|
155 clean:
|
|
156 rm -f ediff*.elc *~ core
|
|
157
|
|
158 distclean: clean
|
14
|
159
|
0
|
160 realclean: clean
|
|
161 rm -f *.dvi ediff.info*
|
|
162 rm -f ediff.aux ediff.cp ediff.cps ediff.fn ediff.fns ediff.ky \
|
|
163 ediff.kys ediff.log ediff.pg ediff.pgs ediff.toc ediff.tp \
|
|
164 ediff.tps ediff.vr ediff.vrs
|