comparison lisp/ediff/Makefile @ 0:376386a54a3c r19-14

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