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