8
|
1 # Makefile for man subdirectory in XEmacs
|
|
2 # Copyright (C) 1995 Board of Trustees, University of Illinois
|
|
3 # Copyright (C) 1994, 1995 Sun Microsystems.
|
|
4
|
|
5 # This file is part of XEmacs.
|
|
6
|
|
7 # XEmacs is free software; you can redistribute it and/or modify it
|
|
8 # under the terms of the GNU General Public License as published by the
|
|
9 # Free Software Foundation; either version 2, or (at your option) any
|
|
10 # later version.
|
|
11
|
|
12 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
15 # for more details.
|
|
16
|
|
17 # You should have received a copy of the GNU General Public License
|
|
18 # along with XEmacs; see the file COPYING. If not, write to
|
|
19 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
20 # Boston, MA 02111-1307, USA.
|
|
21
|
398
|
22 SHELL = /bin/sh
|
108
|
23 MAKEINFO = makeinfo
|
193
|
24 TEXI2DVI = texi2dvi
|
108
|
25
|
193
|
26 .SUFFIXES:
|
8
|
27 .SUFFIXES: .info .texi .dvi
|
|
28
|
193
|
29 RECURSIVE_MAKE = $(MAKE) $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)'
|
|
30
|
398
|
31 all : info
|
|
32
|
280
|
33 # Ughhh! The things we do to have portable makefiles...
|
8
|
34
|
280
|
35 INFODIR = ../info
|
8
|
36
|
280
|
37 info_files = \
|
|
38 $(INFODIR)/cl.info \
|
|
39 $(INFODIR)/custom.info \
|
398
|
40 $(INFODIR)/emodules.info \
|
280
|
41 $(INFODIR)/external-widget.info \
|
|
42 $(INFODIR)/info.info \
|
398
|
43 $(INFODIR)/lispref.info \
|
|
44 $(INFODIR)/internals.info \
|
|
45 $(INFODIR)/new-users-guide.info \
|
280
|
46 $(INFODIR)/standards.info \
|
|
47 $(INFODIR)/term.info \
|
|
48 $(INFODIR)/termcap.info \
|
|
49 $(INFODIR)/texinfo.info \
|
|
50 $(INFODIR)/widget.info \
|
398
|
51 $(INFODIR)/xemacs.info \
|
280
|
52 $(INFODIR)/xemacs-faq.info
|
108
|
53
|
280
|
54 dvi_files = \
|
|
55 cl.dvi \
|
|
56 custom.dvi \
|
398
|
57 emodules.dvi \
|
280
|
58 external-widget.dvi \
|
|
59 info.dvi \
|
398
|
60 lispref.dvi \
|
|
61 internals.dvi \
|
|
62 new-users-guide.dvi \
|
280
|
63 standards.dvi \
|
|
64 term.dvi \
|
|
65 termcap.dvi \
|
|
66 texinfo.dvi \
|
|
67 widget.dvi \
|
398
|
68 xemacs.dvi \
|
280
|
69 xemacs-faq.dvi
|
|
70
|
398
|
71 xemacs-srcs = \
|
|
72 xemacs/abbrevs.texi \
|
|
73 xemacs/basic.texi \
|
|
74 xemacs/buffers.texi \
|
|
75 xemacs/building.texi \
|
|
76 xemacs/calendar.texi \
|
|
77 xemacs/cmdargs.texi \
|
|
78 xemacs/custom.texi \
|
|
79 xemacs/display.texi \
|
|
80 xemacs/entering.texi \
|
|
81 xemacs/files.texi \
|
|
82 xemacs/fixit.texi \
|
|
83 xemacs/frame.texi \
|
|
84 xemacs/glossary.texi \
|
|
85 xemacs/gnu.texi \
|
|
86 xemacs/help.texi \
|
|
87 xemacs/indent.texi \
|
|
88 xemacs/keystrokes.texi \
|
|
89 xemacs/killing.texi \
|
|
90 xemacs/m-x.texi \
|
|
91 xemacs/major.texi \
|
|
92 xemacs/mark.texi \
|
|
93 xemacs/menus.texi \
|
|
94 xemacs/mini.texi \
|
|
95 xemacs/misc.texi \
|
|
96 xemacs/mouse.texi \
|
|
97 xemacs/mule.texi \
|
|
98 xemacs/new.texi \
|
|
99 xemacs/packages.texi \
|
|
100 xemacs/picture.texi \
|
|
101 xemacs/programs.texi \
|
|
102 xemacs/reading.texi \
|
|
103 xemacs/regs.texi \
|
|
104 xemacs/search.texi \
|
|
105 xemacs/sending.texi \
|
|
106 xemacs/startup.texi \
|
|
107 xemacs/text.texi \
|
|
108 xemacs/trouble.texi \
|
|
109 xemacs/undo.texi \
|
|
110 xemacs/windows.texi \
|
|
111 xemacs/xemacs.texi
|
280
|
112
|
398
|
113 lispref-srcs = \
|
|
114 lispref/abbrevs.texi \
|
|
115 lispref/annotations.texi \
|
|
116 lispref/back.texi \
|
|
117 lispref/backups.texi \
|
|
118 lispref/buffers.texi \
|
|
119 lispref/building.texi \
|
|
120 lispref/commands.texi \
|
|
121 lispref/compile.texi \
|
|
122 lispref/consoles-devices.texi \
|
|
123 lispref/control.texi \
|
|
124 lispref/customize.texi \
|
|
125 lispref/databases.texi \
|
|
126 lispref/debugging.texi \
|
|
127 lispref/dialog.texi \
|
|
128 lispref/display.texi \
|
|
129 lispref/dragndrop.texi \
|
|
130 lispref/edebug-inc.texi \
|
|
131 lispref/edebug.texi \
|
|
132 lispref/errors.texi \
|
|
133 lispref/eval.texi \
|
|
134 lispref/extents.texi \
|
|
135 lispref/faces.texi \
|
|
136 lispref/files.texi \
|
|
137 lispref/frames.texi \
|
|
138 lispref/functions.texi \
|
|
139 lispref/glyphs.texi \
|
|
140 lispref/hash-tables.texi \
|
|
141 lispref/help.texi \
|
|
142 lispref/hooks.texi \
|
|
143 lispref/index.texi \
|
|
144 lispref/internationalization.texi \
|
|
145 lispref/intro.texi \
|
|
146 lispref/keymaps.texi \
|
|
147 lispref/ldap.texi \
|
|
148 lispref/lispref.texi \
|
|
149 lispref/lists.texi \
|
|
150 lispref/loading.texi \
|
|
151 lispref/locals.texi \
|
|
152 lispref/macros.texi \
|
|
153 lispref/maps.texi \
|
|
154 lispref/markers.texi \
|
|
155 lispref/menus.texi \
|
|
156 lispref/minibuf.texi \
|
|
157 lispref/modes.texi \
|
|
158 lispref/mouse.texi \
|
|
159 lispref/mule.texi \
|
|
160 lispref/numbers.texi \
|
|
161 lispref/objects.texi \
|
|
162 lispref/os.texi \
|
|
163 lispref/positions.texi \
|
|
164 lispref/processes.texi \
|
|
165 lispref/range-tables.texi \
|
|
166 lispref/scrollbars.texi \
|
|
167 lispref/searching.texi \
|
|
168 lispref/sequences.texi \
|
|
169 lispref/specifiers.texi \
|
|
170 lispref/streams.texi \
|
|
171 lispref/strings.texi \
|
|
172 lispref/symbols.texi \
|
|
173 lispref/syntax.texi \
|
|
174 lispref/text.texi \
|
|
175 lispref/tips.texi \
|
|
176 lispref/toolbar.texi \
|
|
177 lispref/tooltalk.texi \
|
|
178 lispref/variables.texi \
|
|
179 lispref/windows.texi \
|
|
180 lispref/x-windows.texi
|
108
|
181
|
398
|
182 internals-srcs = \
|
|
183 internals/internals.texi
|
|
184
|
|
185 new-users-guide-srcs = \
|
|
186 new-users-guide/custom1.texi \
|
|
187 new-users-guide/custom2.texi \
|
|
188 new-users-guide/edit.texi \
|
|
189 new-users-guide/enter.texi \
|
|
190 new-users-guide/files.texi \
|
|
191 new-users-guide/help.texi \
|
|
192 new-users-guide/modes.texi \
|
|
193 new-users-guide/new-users-guide.texi \
|
|
194 new-users-guide/region.texi \
|
|
195 new-users-guide/search.texi \
|
|
196 new-users-guide/xmenu.texi
|
280
|
197
|
398
|
198 $(INFODIR)/cl.info : cl.texi
|
|
199 $(MAKEINFO) -o $(INFODIR)/cl.info cl.texi
|
|
200
|
|
201 $(INFODIR)/custom.info : custom.texi
|
|
202 $(MAKEINFO) -o $(INFODIR)/custom.info custom.texi
|
|
203
|
|
204 $(INFODIR)/emodules.info : emodules.texi
|
|
205 $(MAKEINFO) -o $(INFODIR)/emodules.info emodules.texi
|
|
206
|
|
207 $(INFODIR)/external-widget.info : external-widget.texi
|
|
208 $(MAKEINFO) -o $(INFODIR)/external-widget.info external-widget.texi
|
|
209
|
|
210 $(INFODIR)/info.info : info.texi
|
|
211 $(MAKEINFO) -o $(INFODIR)/info.info info.texi
|
|
212
|
|
213 $(INFODIR)/standards.info : standards.texi
|
|
214 $(MAKEINFO) -o $(INFODIR)/standards.info standards.texi
|
280
|
215
|
398
|
216 $(INFODIR)/term.info : term.texi
|
|
217 $(MAKEINFO) -o $(INFODIR)/term.info term.texi
|
|
218
|
|
219 $(INFODIR)/termcap.info : termcap.texi
|
|
220 $(MAKEINFO) -o $(INFODIR)/termcap.info termcap.texi
|
|
221
|
|
222 $(INFODIR)/texinfo.info : texinfo.texi
|
|
223 $(MAKEINFO) -o $(INFODIR)/texinfo.info texinfo.texi
|
|
224
|
|
225 $(INFODIR)/widget.info : widget.texi
|
|
226 $(MAKEINFO) -o $(INFODIR)/widget.info widget.texi
|
|
227
|
|
228 $(INFODIR)/xemacs-faq.info : xemacs-faq.texi
|
|
229 $(MAKEINFO) -o $(INFODIR)/xemacs-faq.info xemacs-faq.texi
|
280
|
230
|
398
|
231 # Manuals with their own subdirectory
|
|
232 $(INFODIR)/xemacs.info : $(xemacs-srcs)
|
|
233 $(MAKEINFO) -P xemacs -o $(INFODIR)/xemacs.info xemacs/xemacs.texi
|
|
234
|
|
235 $(INFODIR)/lispref.info : $(lispref-srcs)
|
|
236 $(MAKEINFO) -P lispref -o $(INFODIR)/lispref.info lispref/lispref.texi
|
|
237
|
|
238 $(INFODIR)/internals.info : $(internals-srcs)
|
|
239 $(MAKEINFO) -P internals -o $(INFODIR)/internals.info internals/internals.texi
|
|
240
|
|
241 $(INFODIR)/new-users-guide.info : $(new-users-guide-srcs)
|
|
242 $(MAKEINFO) -P new-users-guide -o $(INFODIR)/new-users-guide.info new-users-guide/new-users-guide.texi
|
|
243
|
|
244 # $(INFODIR)/w3.info : w3.texi
|
|
245 # $(MAKEINFO) -o $(INFODIR)/w3.info w3.texi
|
|
246
|
|
247 # EMACS = ../src/xemacs
|
|
248 # EMACSFLAGS = -batch -q -no-site-file
|
|
249
|
|
250 # $(INFODIR)/vm.info : vm.texi
|
280
|
251 # -$(EMACS) $(EMACSFLAGS) -insert vm.texi -l texinfmt \
|
|
252 # -f texinfo-format-buffer -f save-buffer
|
398
|
253 # -mv vm.info* $(INFODIR)/.
|
280
|
254
|
398
|
255 # special = # $(INFODIR)/vm.info $(INFODIR)/texinfo.info
|
280
|
256
|
398
|
257 xemacs : $(INFODIR)/xemacs.info
|
|
258 lispref : $(INFODIR)/lispref.info
|
|
259 internals : $(INFODIR)/internals.info
|
|
260 new-users-guide.info : $(INFODIR)/new-users-guide.info
|
280
|
261
|
398
|
262 .PHONY : xemacs lispref internals new-users-guide info dvi
|
108
|
263
|
280
|
264 info : $(info_files)
|
398
|
265
|
|
266 # tm: FRC.tm
|
|
267 # cd ./tm && $(RECURSIVE_MAKE)
|
|
268 # gnats: FRC.gnats
|
|
269 # cd ./gnats && $(RECURSIVE_MAKE)
|
|
270 # FRC.xemacs FRC.lispref FRC.new-users-guide FRC.internals FRC.tm FRC.gnats:
|
280
|
271
|
|
272 .PHONY: info dvi
|
|
273
|
398
|
274 .texi.dvi:
|
|
275 -$(TEXI2DVI) $<
|
|
276
|
|
277 xemacs.dvi : $(xemacs-srcs)
|
|
278 $(TEXI2DVI) -I xemacs xemacs/xemacs.texi
|
280
|
279
|
398
|
280 lispref.dvi : $(lispref-srcs)
|
|
281 $(TEXI2DVI) -I lispref lispref/lispref.texi
|
280
|
282
|
398
|
283 internals.dvi : $(internals-srcs)
|
|
284 $(TEXI2DVI) -I internals internals/internals.texi
|
|
285
|
|
286 new-users-guide.dvi : $(new-users-guide-srcs)
|
|
287 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi
|
8
|
288
|
280
|
289 dvi : $(dvi_files)
|
8
|
290
|
173
|
291 .PHONY: mostlyclean clean distclean realclean extraclean
|
8
|
292 mostlyclean:
|
398
|
293 rm -f *.toc *.aux *.log *.op *.cp *.cps *.fn *.fns
|
|
294 rm -f *.ky *.kys *.pg *.pgs *.tp *.tps *.vr *.vrs
|
8
|
295 clean: mostlyclean
|
398
|
296 rm -f core *.dvi
|
8
|
297 distclean: clean
|
|
298 realclean: distclean
|
|
299 extraclean: distclean
|
398
|
300 rm -f *~ \#* */*~ */\#*
|