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