Mercurial > hg > xemacs-beta
annotate man/Makefile @ 5442:8d3d05ffbb43
Copyright and short license added to etc/gtkrc.
author | Mats Lidell <matsl@xemacs.org> |
---|---|
date | Sun, 12 Dec 2010 00:38:54 +0100 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
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. | |
3062 | 4 # Copyright (C) 2005 Ben Wing. |
428 | 5 |
6 # This file is part of XEmacs. | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5087
diff
changeset
|
7 # |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5087
diff
changeset
|
8 # XEmacs is free software: you can redistribute it and/or modify it |
428 | 9 # under the terms of the GNU General Public License as published by the |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5087
diff
changeset
|
10 # Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5087
diff
changeset
|
11 # option) any later version. |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5087
diff
changeset
|
12 # |
428 | 13 # XEmacs is distributed in the hope that it will be useful, but WITHOUT |
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 # for more details. | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5087
diff
changeset
|
17 # |
428 | 18 # You should have received a copy of the GNU General Public License |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5087
diff
changeset
|
19 # along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
428 | 20 |
21 SHELL = /bin/sh | |
22 MAKEINFO = makeinfo | |
23 TEXI2DVI = texi2dvi | |
4195 | 24 TEXI2HTML = texi2html |
4196 | 25 TEXI2HTML_NOSPLIT = $(TEXI2HTML) -verbose -subdir $(HTMLDIR) |
4195 | 26 TEXI2HTML_SPLIT = $(TEXI2HTML) -verbose -subdir $(HTMLDIR) -split chapter |
677 | 27 |
442 | 28 RM = rm -f |
2418 | 29 CP = cp |
428 | 30 |
31 .SUFFIXES: | |
1702 | 32 .SUFFIXES: .html .info .texi .dvi .pdf |
428 | 33 |
2427 | 34 RECURSIVE_MAKE_ARGS = $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)' |
428 | 35 |
36 all : info | |
37 | |
38 # Ughhh! The things we do to have portable makefiles... | |
39 | |
40 INFODIR = ../info | |
677 | 41 HTMLDIR = ../html |
2418 | 42 PHOTODIR = ../etc/photos |
428 | 43 |
44 info_files = \ | |
2537 | 45 $(INFODIR)/beta.info \ |
428 | 46 $(INFODIR)/cl.info \ |
47 $(INFODIR)/emodules.info \ | |
48 $(INFODIR)/external-widget.info \ | |
49 $(INFODIR)/info.info \ | |
4225 | 50 $(INFODIR)/internals.info \ |
428 | 51 $(INFODIR)/lispref.info \ |
52 $(INFODIR)/new-users-guide.info \ | |
53 $(INFODIR)/standards.info \ | |
54 $(INFODIR)/termcap.info \ | |
55 $(INFODIR)/texinfo.info \ | |
56 $(INFODIR)/widget.info \ | |
4225 | 57 $(INFODIR)/xemacs-faq.info \ |
58 $(INFODIR)/xemacs.info | |
428 | 59 |
677 | 60 html_files = \ |
2537 | 61 $(HTMLDIR)/beta.html \ |
677 | 62 $(HTMLDIR)/cl.html \ |
63 $(HTMLDIR)/emodules.html \ | |
64 $(HTMLDIR)/external-widget.html \ | |
65 $(HTMLDIR)/info.html \ | |
66 $(HTMLDIR)/lispref.html \ | |
67 $(HTMLDIR)/internals.html \ | |
68 $(HTMLDIR)/new-users-guide.html \ | |
69 $(HTMLDIR)/standards.html \ | |
70 $(HTMLDIR)/termcap.html \ | |
71 $(HTMLDIR)/texinfo.html \ | |
72 $(HTMLDIR)/widget.html \ | |
73 $(HTMLDIR)/xemacs.html \ | |
74 $(HTMLDIR)/xemacs-faq.html | |
75 | |
428 | 76 dvi_files = \ |
2537 | 77 beta.dvi \ |
428 | 78 cl.dvi \ |
79 emodules.dvi \ | |
80 external-widget.dvi \ | |
81 info.dvi \ | |
82 lispref.dvi \ | |
83 internals.dvi \ | |
84 new-users-guide.dvi \ | |
85 standards.dvi \ | |
86 termcap.dvi \ | |
87 texinfo.dvi \ | |
88 widget.dvi \ | |
89 xemacs.dvi \ | |
90 xemacs-faq.dvi | |
91 | |
1702 | 92 pdf_files = \ |
2537 | 93 beta.pdf \ |
1702 | 94 cl.pdf \ |
95 emodules.pdf \ | |
96 external-widget.pdf \ | |
97 info.pdf \ | |
98 lispref.pdf \ | |
99 internals.pdf \ | |
100 new-users-guide.pdf \ | |
101 standards.pdf \ | |
102 termcap.pdf \ | |
103 texinfo.pdf \ | |
104 widget.pdf \ | |
105 xemacs.pdf \ | |
106 xemacs-faq.pdf | |
107 | |
428 | 108 xemacs-srcs = \ |
109 xemacs/abbrevs.texi \ | |
110 xemacs/basic.texi \ | |
111 xemacs/buffers.texi \ | |
112 xemacs/building.texi \ | |
113 xemacs/calendar.texi \ | |
114 xemacs/cmdargs.texi \ | |
115 xemacs/custom.texi \ | |
116 xemacs/display.texi \ | |
117 xemacs/entering.texi \ | |
118 xemacs/files.texi \ | |
119 xemacs/fixit.texi \ | |
120 xemacs/frame.texi \ | |
121 xemacs/glossary.texi \ | |
122 xemacs/gnu.texi \ | |
123 xemacs/help.texi \ | |
124 xemacs/indent.texi \ | |
125 xemacs/keystrokes.texi \ | |
126 xemacs/killing.texi \ | |
127 xemacs/m-x.texi \ | |
128 xemacs/major.texi \ | |
129 xemacs/mark.texi \ | |
130 xemacs/menus.texi \ | |
131 xemacs/mini.texi \ | |
132 xemacs/misc.texi \ | |
133 xemacs/mouse.texi \ | |
134 xemacs/mule.texi \ | |
135 xemacs/new.texi \ | |
136 xemacs/packages.texi \ | |
137 xemacs/picture.texi \ | |
138 xemacs/programs.texi \ | |
139 xemacs/reading.texi \ | |
140 xemacs/regs.texi \ | |
141 xemacs/search.texi \ | |
142 xemacs/sending.texi \ | |
143 xemacs/startup.texi \ | |
144 xemacs/text.texi \ | |
145 xemacs/trouble.texi \ | |
146 xemacs/undo.texi \ | |
147 xemacs/windows.texi \ | |
148 xemacs/xemacs.texi | |
149 | |
150 lispref-srcs = \ | |
151 lispref/abbrevs.texi \ | |
152 lispref/annotations.texi \ | |
153 lispref/back.texi \ | |
154 lispref/backups.texi \ | |
155 lispref/buffers.texi \ | |
156 lispref/building.texi \ | |
157 lispref/commands.texi \ | |
158 lispref/compile.texi \ | |
159 lispref/consoles-devices.texi \ | |
160 lispref/control.texi \ | |
161 lispref/customize.texi \ | |
162 lispref/databases.texi \ | |
163 lispref/debugging.texi \ | |
164 lispref/dialog.texi \ | |
165 lispref/display.texi \ | |
166 lispref/dragndrop.texi \ | |
167 lispref/edebug-inc.texi \ | |
168 lispref/edebug.texi \ | |
169 lispref/errors.texi \ | |
170 lispref/eval.texi \ | |
171 lispref/extents.texi \ | |
172 lispref/faces.texi \ | |
173 lispref/files.texi \ | |
174 lispref/frames.texi \ | |
175 lispref/functions.texi \ | |
176 lispref/glyphs.texi \ | |
177 lispref/hash-tables.texi \ | |
178 lispref/help.texi \ | |
179 lispref/hooks.texi \ | |
180 lispref/index.texi \ | |
181 lispref/internationalization.texi \ | |
182 lispref/intro.texi \ | |
183 lispref/keymaps.texi \ | |
184 lispref/ldap.texi \ | |
185 lispref/lispref.texi \ | |
186 lispref/lists.texi \ | |
187 lispref/loading.texi \ | |
188 lispref/locals.texi \ | |
189 lispref/macros.texi \ | |
190 lispref/maps.texi \ | |
191 lispref/markers.texi \ | |
192 lispref/menus.texi \ | |
193 lispref/minibuf.texi \ | |
194 lispref/modes.texi \ | |
195 lispref/mouse.texi \ | |
196 lispref/mule.texi \ | |
197 lispref/numbers.texi \ | |
198 lispref/objects.texi \ | |
199 lispref/os.texi \ | |
693 | 200 lispref/packaging.texi \ |
428 | 201 lispref/positions.texi \ |
202 lispref/processes.texi \ | |
203 lispref/range-tables.texi \ | |
204 lispref/scrollbars.texi \ | |
205 lispref/searching.texi \ | |
206 lispref/sequences.texi \ | |
207 lispref/specifiers.texi \ | |
208 lispref/streams.texi \ | |
209 lispref/strings.texi \ | |
210 lispref/symbols.texi \ | |
211 lispref/syntax.texi \ | |
212 lispref/text.texi \ | |
213 lispref/tips.texi \ | |
214 lispref/toolbar.texi \ | |
215 lispref/tooltalk.texi \ | |
216 lispref/variables.texi \ | |
217 lispref/windows.texi \ | |
218 lispref/x-windows.texi | |
219 | |
220 internals-srcs = \ | |
221 internals/internals.texi | |
222 | |
223 new-users-guide-srcs = \ | |
224 new-users-guide/custom1.texi \ | |
225 new-users-guide/custom2.texi \ | |
226 new-users-guide/edit.texi \ | |
227 new-users-guide/enter.texi \ | |
228 new-users-guide/files.texi \ | |
229 new-users-guide/help.texi \ | |
230 new-users-guide/modes.texi \ | |
231 new-users-guide/new-users-guide.texi \ | |
232 new-users-guide/region.texi \ | |
233 new-users-guide/search.texi \ | |
234 new-users-guide/xmenu.texi | |
235 | |
2537 | 236 $(INFODIR)/beta.info : beta.texi |
237 $(MAKEINFO) -o $(INFODIR)/beta.info beta.texi | |
238 | |
428 | 239 $(INFODIR)/cl.info : cl.texi |
240 $(MAKEINFO) -o $(INFODIR)/cl.info cl.texi | |
241 | |
242 $(INFODIR)/emodules.info : emodules.texi | |
243 $(MAKEINFO) -o $(INFODIR)/emodules.info emodules.texi | |
244 | |
245 $(INFODIR)/external-widget.info : external-widget.texi | |
246 $(MAKEINFO) -o $(INFODIR)/external-widget.info external-widget.texi | |
247 | |
248 $(INFODIR)/info.info : info.texi | |
249 $(MAKEINFO) -o $(INFODIR)/info.info info.texi | |
250 | |
251 $(INFODIR)/standards.info : standards.texi | |
252 $(MAKEINFO) -o $(INFODIR)/standards.info standards.texi | |
253 | |
254 $(INFODIR)/termcap.info : termcap.texi | |
255 $(MAKEINFO) -o $(INFODIR)/termcap.info termcap.texi | |
256 | |
257 $(INFODIR)/texinfo.info : texinfo.texi | |
258 $(MAKEINFO) -o $(INFODIR)/texinfo.info texinfo.texi | |
259 | |
260 $(INFODIR)/widget.info : widget.texi | |
261 $(MAKEINFO) -o $(INFODIR)/widget.info widget.texi | |
262 | |
263 $(INFODIR)/xemacs-faq.info : xemacs-faq.texi | |
264 $(MAKEINFO) -o $(INFODIR)/xemacs-faq.info xemacs-faq.texi | |
265 | |
266 # Manuals with their own subdirectory | |
267 $(INFODIR)/xemacs.info : $(xemacs-srcs) | |
268 $(MAKEINFO) -P xemacs -o $(INFODIR)/xemacs.info xemacs/xemacs.texi | |
269 | |
270 $(INFODIR)/lispref.info : $(lispref-srcs) | |
271 $(MAKEINFO) -P lispref -o $(INFODIR)/lispref.info lispref/lispref.texi | |
272 | |
273 $(INFODIR)/internals.info : $(internals-srcs) | |
274 $(MAKEINFO) -P internals -o $(INFODIR)/internals.info internals/internals.texi | |
275 | |
276 $(INFODIR)/new-users-guide.info : $(new-users-guide-srcs) | |
277 $(MAKEINFO) -P new-users-guide -o $(INFODIR)/new-users-guide.info new-users-guide/new-users-guide.texi | |
278 | |
279 xemacs : $(INFODIR)/xemacs.info | |
280 lispref : $(INFODIR)/lispref.info | |
281 internals : $(INFODIR)/internals.info | |
282 new-users-guide.info : $(INFODIR)/new-users-guide.info | |
283 | |
1702 | 284 .PHONY : xemacs lispref internals new-users-guide info dvi pdf |
428 | 285 |
286 info : $(info_files) | |
677 | 287 html : $(html_files) |
428 | 288 |
289 .texi.dvi: | |
290 -$(TEXI2DVI) $< | |
291 | |
1702 | 292 .texi.pdf: |
293 -$(TEXI2DVI) --pdf $< | |
294 | |
428 | 295 xemacs.dvi : $(xemacs-srcs) |
296 $(TEXI2DVI) -I xemacs xemacs/xemacs.texi | |
297 | |
298 lispref.dvi : $(lispref-srcs) | |
299 $(TEXI2DVI) -I lispref lispref/lispref.texi | |
300 | |
301 internals.dvi : $(internals-srcs) | |
302 $(TEXI2DVI) -I internals internals/internals.texi | |
303 | |
304 new-users-guide.dvi : $(new-users-guide-srcs) | |
305 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi | |
306 | |
307 dvi : $(dvi_files) | |
308 | |
1702 | 309 xemacs.pdf: $(xemacs-srcs) |
310 $(TEXI2DVI) --pdf -I xemacs xemacs/xemacs.texi | |
311 | |
312 lispref.pdf: $(lispref-srcs) | |
313 $(TEXI2DVI) --pdf -I lispref lispref/lispref.texi | |
314 | |
315 internals.pdf: $(internals-srcs) | |
316 $(TEXI2DVI) --pdf -I internals internals/internals.texi | |
317 | |
318 new-users-guide.pdf: $(new-users-guide-srcs) | |
319 $(TEXI2DVI) --pdf -I new-users-guide new-users-guide/new-users-guide.texi | |
320 | |
321 pdf: $(pdf_files) | |
322 | |
428 | 323 .PHONY: mostlyclean clean distclean realclean extraclean |
3062 | 324 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig |
428 | 325 mostlyclean: |
442 | 326 $(RM) *.toc *.aux *.log *.op *.cp *.cps *.fn *.fns |
327 $(RM) *.ky *.kys *.pg *.pgs *.tp *.tps *.vr *.vrs | |
428 | 328 clean: mostlyclean |
1702 | 329 $(RM) core *.dvi *.pdf |
3062 | 330 distclean-noconfig: clean |
331 distclean: distclean-noconfig | |
332 realclean-noconfig: distclean-noconfig | |
428 | 333 realclean: distclean |
3062 | 334 extraclean-noconfig: realclean-noconfig |
335 $(RM) *~ \#* */*~ */\#* | |
336 extraclean: realclean | |
442 | 337 $(RM) *~ \#* */*~ */\#* |
677 | 338 |
339 ############################################################################ | |
340 | |
2537 | 341 $(HTMLDIR)/beta.html : beta.texi |
4196 | 342 $(TEXI2HTML_NOSPLIT) beta.texi |
2537 | 343 |
677 | 344 $(HTMLDIR)/cl.html : cl.texi |
2418 | 345 $(TEXI2HTML_SPLIT) cl.texi |
677 | 346 |
347 $(HTMLDIR)/emodules.html : emodules.texi | |
2418 | 348 $(TEXI2HTML_SPLIT) emodules.texi |
677 | 349 |
350 $(HTMLDIR)/external-widget.html : external-widget.texi | |
2418 | 351 $(TEXI2HTML_SPLIT) external-widget.texi |
677 | 352 |
353 $(HTMLDIR)/info.html : info.texi | |
2418 | 354 $(TEXI2HTML_SPLIT) info.texi |
677 | 355 |
356 $(HTMLDIR)/standards.html : standards.texi | |
2418 | 357 $(TEXI2HTML_SPLIT) standards.texi |
677 | 358 |
359 $(HTMLDIR)/termcap.html : termcap.texi | |
2418 | 360 $(TEXI2HTML_SPLIT) termcap.texi |
677 | 361 |
362 $(HTMLDIR)/texinfo.html : texinfo.texi | |
2418 | 363 $(TEXI2HTML_SPLIT) texinfo.texi |
677 | 364 |
365 $(HTMLDIR)/widget.html : widget.texi | |
2418 | 366 $(TEXI2HTML_SPLIT) widget.texi |
677 | 367 |
368 $(HTMLDIR)/xemacs-faq.html : xemacs-faq.texi | |
4196 | 369 $(TEXI2HTML_NOSPLIT) xemacs-faq.texi |
2418 | 370 $(TEXI2HTML_SPLIT) -top_file xemacs-faq_1.html xemacs-faq.texi |
371 $(CP) $(PHOTODIR)/ben.png $(HTMLDIR) | |
372 $(CP) $(PHOTODIR)/cthomp.png $(HTMLDIR) | |
373 $(CP) $(PHOTODIR)/hniksic.png $(HTMLDIR) | |
374 $(CP) $(PHOTODIR)/jwz.png $(HTMLDIR) | |
375 $(CP) $(PHOTODIR)/martin.png $(HTMLDIR) | |
376 $(CP) $(PHOTODIR)/mly.png $(HTMLDIR) | |
377 $(CP) $(PHOTODIR)/piper.png $(HTMLDIR) | |
378 $(CP) $(PHOTODIR)/slb.png $(HTMLDIR) | |
677 | 379 |
380 # Manuals with their own subdirectory | |
381 $(HTMLDIR)/xemacs.html : $(xemacs-srcs) | |
2418 | 382 $(TEXI2HTML_SPLIT) xemacs/xemacs.texi |
677 | 383 |
384 $(HTMLDIR)/lispref.html : $(lispref-srcs) | |
2418 | 385 $(TEXI2HTML_SPLIT) lispref/lispref.texi |
677 | 386 |
387 $(HTMLDIR)/internals.html : $(internals-srcs) | |
2418 | 388 $(TEXI2HTML_SPLIT) internals/internals.texi |
677 | 389 |
390 $(HTMLDIR)/new-users-guide.html : $(new-users-guide-srcs) | |
2418 | 391 $(TEXI2HTML_SPLIT) new-users-guide/new-users-guide.texi |
677 | 392 |
393 xemacs : $(HTMLDIR)/xemacs.html | |
394 lispref : $(HTMLDIR)/lispref.html | |
395 internals : $(HTMLDIR)/internals.html | |
396 new-users-guide.html : $(HTMLDIR)/new-users-guide.html | |
397 | |
398 html : $(html_files) |