annotate lisp/ediff/Makefile @ 181:bfd6434d15b3 r20-3b17

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