comparison man/Makefile @ 5497:70af4098e14f

Merge by hand with the changeset that backed out e82f5b7010fe. man/ChangeLog addition: 2011-05-02 Aidan Kehoe <kehoea@parhasard.net> * Makefile: * texinfo.tex: Merge by hand with the changeset that backed out e82f5b7010fe (e82f5b7010fe is incompatible with deployed versions of makeinfo as of today).
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 02 May 2011 10:51:26 +0100
parents a7da359711ce
children 3fe8358ad59a
comparison
equal deleted inserted replaced
5495:1f0b15040456 5497:70af4098e14f
1 # Makefile for man subdirectory in XEmacs 1 # Makefile for man subdirectory in XEmacs
2 # Copyright (C) 1995 Board of Trustees, University of Illinois 2 # Copyright (C) 1995 Board of Trustees, University of Illinois
3 # Copyright (C) 1994, 1995 Sun Microsystems. 3 # Copyright (C) 1994, 1995 Sun Microsystems.
4 # Copyright (C) 2005, 2010 Ben Wing. 4 # Copyright (C) 2005 Ben Wing.
5 5
6 # This file is part of XEmacs. 6 # This file is part of XEmacs.
7 7
8 # XEmacs is free software; you can redistribute it and/or modify it 8 # XEmacs is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by the 9 # under the terms of the GNU General Public License as published by the
41 41
42 INFODIR = ../info 42 INFODIR = ../info
43 HTMLDIR = ../html 43 HTMLDIR = ../html
44 PHOTODIR = ../etc/photos 44 PHOTODIR = ../etc/photos
45 45
46 src_files1 = \ 46 info_files = \
47 $(DIR)beta.texi \ 47 $(INFODIR)/beta.info \
48 $(DIR)cl.texi \ 48 $(INFODIR)/cl.info \
49 $(DIR)custom.texi \ 49 $(INFODIR)/emodules.info \
50 $(DIR)emodules.texi \ 50 $(INFODIR)/external-widget.info \
51 $(DIR)external-widget.texi \ 51 $(INFODIR)/info.info \
52 $(DIR)info.texi \ 52 $(INFODIR)/internals.info \
53 $(DIR)internals.texi \ 53 $(INFODIR)/lispref.info \
54 $(DIR)lispref.texi \ 54 $(INFODIR)/new-users-guide.info \
55 $(DIR)new-users-guide.texi \ 55 $(INFODIR)/standards.info \
56 $(DIR)standards.texi \ 56 $(INFODIR)/termcap.info \
57 $(DIR)term.texi \ 57 $(INFODIR)/texinfo.info \
58 $(DIR)termcap.texi \ 58 $(INFODIR)/widget.info \
59 $(DIR)texinfo.texi \ 59 $(INFODIR)/xemacs-faq.info \
60 $(DIR)widget.texi \ 60 $(INFODIR)/xemacs.info
61 $(DIR)xemacs.texi \ 61
62 $(DIR)xemacs-faq.texi 62 html_files = \
63 63 $(HTMLDIR)/beta.html \
64 DIR:= 64 $(HTMLDIR)/cl.html \
65 src_files := $(src_files1) 65 $(HTMLDIR)/emodules.html \
66 66 $(HTMLDIR)/external-widget.html \
67 DIR := $(INFODIR)/ 67 $(HTMLDIR)/info.html \
68 info_files := $(src_files1:.texi=.info) 68 $(HTMLDIR)/lispref.html \
69 69 $(HTMLDIR)/internals.html \
70 DIR := $(HTMLDIR)/ 70 $(HTMLDIR)/new-users-guide.html \
71 html_files := $(src_files1:.texi=.html) 71 $(HTMLDIR)/standards.html \
72 72 $(HTMLDIR)/termcap.html \
73 dvi_files := $(src_files:.texi=.dvi) 73 $(HTMLDIR)/texinfo.html \
74 74 $(HTMLDIR)/widget.html \
75 pdf_files := $(src_files:.texi=.pdf) 75 $(HTMLDIR)/xemacs.html \
76 76 $(HTMLDIR)/xemacs-faq.html
77
78 dvi_files = \
79 beta.dvi \
80 cl.dvi \
81 emodules.dvi \
82 external-widget.dvi \
83 info.dvi \
84 lispref.dvi \
85 internals.dvi \
86 new-users-guide.dvi \
87 standards.dvi \
88 termcap.dvi \
89 texinfo.dvi \
90 widget.dvi \
91 xemacs.dvi \
92 xemacs-faq.dvi
93
94 pdf_files = \
95 beta.pdf \
96 cl.pdf \
97 emodules.pdf \
98 external-widget.pdf \
99 info.pdf \
100 lispref.pdf \
101 internals.pdf \
102 new-users-guide.pdf \
103 standards.pdf \
104 termcap.pdf \
105 texinfo.pdf \
106 widget.pdf \
107 xemacs.pdf \
108 xemacs-faq.pdf
77 109
78 xemacs-srcs = \ 110 xemacs-srcs = \
79 xemacs/abbrevs.texi \ 111 xemacs/abbrevs.texi \
80 xemacs/basic.texi \ 112 xemacs/basic.texi \
81 xemacs/buffers.texi \ 113 xemacs/buffers.texi \
201 new-users-guide/new-users-guide.texi \ 233 new-users-guide/new-users-guide.texi \
202 new-users-guide/region.texi \ 234 new-users-guide/region.texi \
203 new-users-guide/search.texi \ 235 new-users-guide/search.texi \
204 new-users-guide/xmenu.texi 236 new-users-guide/xmenu.texi
205 237
206 texinfo-srcs = \
207 texinfo/fdl.texi \
208 texinfo/texinfo.texi \
209 texinfo/version.texi
210
211 $(INFODIR)/beta.info : beta.texi 238 $(INFODIR)/beta.info : beta.texi
212 $(MAKEINFO) -o $(INFODIR)/beta.info beta.texi 239 $(MAKEINFO) -o $(INFODIR)/beta.info beta.texi
213 240
214 $(INFODIR)/cl.info : cl.texi 241 $(INFODIR)/cl.info : cl.texi
215 $(MAKEINFO) -o $(INFODIR)/cl.info cl.texi 242 $(MAKEINFO) -o $(INFODIR)/cl.info cl.texi
216 243
217 $(INFODIR)/custom.info : custom.texi
218 $(MAKEINFO) -o $(INFODIR)/custom.info custom.texi
219
220 $(INFODIR)/emodules.info : emodules.texi 244 $(INFODIR)/emodules.info : emodules.texi
221 $(MAKEINFO) -o $(INFODIR)/emodules.info emodules.texi 245 $(MAKEINFO) -o $(INFODIR)/emodules.info emodules.texi
222 246
223 $(INFODIR)/external-widget.info : external-widget.texi 247 $(INFODIR)/external-widget.info : external-widget.texi
224 $(MAKEINFO) -o $(INFODIR)/external-widget.info external-widget.texi 248 $(MAKEINFO) -o $(INFODIR)/external-widget.info external-widget.texi
227 $(MAKEINFO) -o $(INFODIR)/info.info info.texi 251 $(MAKEINFO) -o $(INFODIR)/info.info info.texi
228 252
229 $(INFODIR)/standards.info : standards.texi 253 $(INFODIR)/standards.info : standards.texi
230 $(MAKEINFO) -o $(INFODIR)/standards.info standards.texi 254 $(MAKEINFO) -o $(INFODIR)/standards.info standards.texi
231 255
232 $(INFODIR)/term.info : term.texi
233 $(MAKEINFO) -o $(INFODIR)/term.info term.texi
234
235 $(INFODIR)/termcap.info : termcap.texi 256 $(INFODIR)/termcap.info : termcap.texi
236 $(MAKEINFO) -o $(INFODIR)/termcap.info termcap.texi 257 $(MAKEINFO) -o $(INFODIR)/termcap.info termcap.texi
237 258
238 $(INFODIR)/widget.info : widget.texi doclicense.texi 259 $(INFODIR)/texinfo.info : texinfo.texi
260 $(MAKEINFO) -o $(INFODIR)/texinfo.info texinfo.texi
261
262 $(INFODIR)/widget.info : widget.texi
239 $(MAKEINFO) -o $(INFODIR)/widget.info widget.texi 263 $(MAKEINFO) -o $(INFODIR)/widget.info widget.texi
240 264
241 $(INFODIR)/xemacs-faq.info : xemacs-faq.texi 265 $(INFODIR)/xemacs-faq.info : xemacs-faq.texi
242 $(MAKEINFO) -o $(INFODIR)/xemacs-faq.info xemacs-faq.texi 266 $(MAKEINFO) -o $(INFODIR)/xemacs-faq.info xemacs-faq.texi
243 267
251 $(INFODIR)/internals.info : $(internals-srcs) 275 $(INFODIR)/internals.info : $(internals-srcs)
252 $(MAKEINFO) -P internals -o $(INFODIR)/internals.info internals/internals.texi 276 $(MAKEINFO) -P internals -o $(INFODIR)/internals.info internals/internals.texi
253 277
254 $(INFODIR)/new-users-guide.info : $(new-users-guide-srcs) 278 $(INFODIR)/new-users-guide.info : $(new-users-guide-srcs)
255 $(MAKEINFO) -P new-users-guide -o $(INFODIR)/new-users-guide.info new-users-guide/new-users-guide.texi 279 $(MAKEINFO) -P new-users-guide -o $(INFODIR)/new-users-guide.info new-users-guide/new-users-guide.texi
256
257 $(INFODIR)/texinfo.info : $(texinfo-srcs)
258 $(MAKEINFO) -P texinfo -o $(INFODIR)/texinfo.info texinfo/texinfo.texi
259 280
260 xemacs : $(INFODIR)/xemacs.info 281 xemacs : $(INFODIR)/xemacs.info
261 lispref : $(INFODIR)/lispref.info 282 lispref : $(INFODIR)/lispref.info
262 internals : $(INFODIR)/internals.info 283 internals : $(INFODIR)/internals.info
263 new-users-guide.info : $(INFODIR)/new-users-guide.info 284 new-users-guide.info : $(INFODIR)/new-users-guide.info
264 texinfo : $(INFODIR)/texinfo.info 285
265 286 .PHONY : xemacs lispref internals new-users-guide info dvi pdf
266 .PHONY : xemacs lispref internals new-users-guide texinfo info dvi pdf
267 287
268 info : $(info_files) 288 info : $(info_files)
269 html : $(html_files) 289 html : $(html_files)
270 290
271 .texi.dvi: 291 .texi.dvi:
284 $(TEXI2DVI) -I internals internals/internals.texi 304 $(TEXI2DVI) -I internals internals/internals.texi
285 305
286 new-users-guide.dvi : $(new-users-guide-srcs) 306 new-users-guide.dvi : $(new-users-guide-srcs)
287 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi 307 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi
288 308
289 texinfo.dvi : $(texinfo-srcs)
290 $(TEXI2DVI) -I texinfo texinfo/texinfo.texi
291
292 dvi : $(dvi_files) 309 dvi : $(dvi_files)
293 310
294 xemacs.pdf: $(xemacs-srcs) 311 xemacs.pdf: $(xemacs-srcs)
295 $(TEXI2DVI) --pdf -I xemacs xemacs/xemacs.texi 312 $(TEXI2DVI) --pdf -I xemacs xemacs/xemacs.texi
296 313
300 internals.pdf: $(internals-srcs) 317 internals.pdf: $(internals-srcs)
301 $(TEXI2DVI) --pdf -I internals internals/internals.texi 318 $(TEXI2DVI) --pdf -I internals internals/internals.texi
302 319
303 new-users-guide.pdf: $(new-users-guide-srcs) 320 new-users-guide.pdf: $(new-users-guide-srcs)
304 $(TEXI2DVI) --pdf -I new-users-guide new-users-guide/new-users-guide.texi 321 $(TEXI2DVI) --pdf -I new-users-guide new-users-guide/new-users-guide.texi
305
306 texinfo.pdf: $(texinfo-srcs)
307 $(TEXI2DVI) --pdf -I texinfo texinfo/texinfo.texi
308 322
309 pdf: $(pdf_files) 323 pdf: $(pdf_files)
310 324
311 .PHONY: mostlyclean clean distclean realclean extraclean 325 .PHONY: mostlyclean clean distclean realclean extraclean
312 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig 326 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig
330 $(TEXI2HTML_NOSPLIT) beta.texi 344 $(TEXI2HTML_NOSPLIT) beta.texi
331 345
332 $(HTMLDIR)/cl.html : cl.texi 346 $(HTMLDIR)/cl.html : cl.texi
333 $(TEXI2HTML_SPLIT) cl.texi 347 $(TEXI2HTML_SPLIT) cl.texi
334 348
335 $(HTMLDIR)/custom.html : custom.texi
336 $(TEXI2HTML_SPLIT) custom.texi
337
338 $(HTMLDIR)/emodules.html : emodules.texi 349 $(HTMLDIR)/emodules.html : emodules.texi
339 $(TEXI2HTML_SPLIT) emodules.texi 350 $(TEXI2HTML_SPLIT) emodules.texi
340 351
341 $(HTMLDIR)/external-widget.html : external-widget.texi 352 $(HTMLDIR)/external-widget.html : external-widget.texi
342 $(TEXI2HTML_SPLIT) external-widget.texi 353 $(TEXI2HTML_SPLIT) external-widget.texi
345 $(TEXI2HTML_SPLIT) info.texi 356 $(TEXI2HTML_SPLIT) info.texi
346 357
347 $(HTMLDIR)/standards.html : standards.texi 358 $(HTMLDIR)/standards.html : standards.texi
348 $(TEXI2HTML_SPLIT) standards.texi 359 $(TEXI2HTML_SPLIT) standards.texi
349 360
350 $(HTMLDIR)/term.html : term.texi
351 $(TEXI2HTML_SPLIT) term.texi
352
353 $(HTMLDIR)/termcap.html : termcap.texi 361 $(HTMLDIR)/termcap.html : termcap.texi
354 $(TEXI2HTML_SPLIT) termcap.texi 362 $(TEXI2HTML_SPLIT) termcap.texi
363
364 $(HTMLDIR)/texinfo.html : texinfo.texi
365 $(TEXI2HTML_SPLIT) texinfo.texi
355 366
356 $(HTMLDIR)/widget.html : widget.texi 367 $(HTMLDIR)/widget.html : widget.texi
357 $(TEXI2HTML_SPLIT) widget.texi 368 $(TEXI2HTML_SPLIT) widget.texi
358 369
359 $(HTMLDIR)/xemacs-faq.html : xemacs-faq.texi 370 $(HTMLDIR)/xemacs-faq.html : xemacs-faq.texi
379 $(TEXI2HTML_SPLIT) internals/internals.texi 390 $(TEXI2HTML_SPLIT) internals/internals.texi
380 391
381 $(HTMLDIR)/new-users-guide.html : $(new-users-guide-srcs) 392 $(HTMLDIR)/new-users-guide.html : $(new-users-guide-srcs)
382 $(TEXI2HTML_SPLIT) new-users-guide/new-users-guide.texi 393 $(TEXI2HTML_SPLIT) new-users-guide/new-users-guide.texi
383 394
384 $(HTMLDIR)/texinfo.html : $(texinfo-srcs)
385 $(TEXI2HTML_SPLIT) texinfo/texinfo.texi
386
387 xemacs : $(HTMLDIR)/xemacs.html 395 xemacs : $(HTMLDIR)/xemacs.html
388 lispref : $(HTMLDIR)/lispref.html 396 lispref : $(HTMLDIR)/lispref.html
389 internals : $(HTMLDIR)/internals.html 397 internals : $(HTMLDIR)/internals.html
390 new-users-guide.html : $(HTMLDIR)/new-users-guide.html 398 new-users-guide.html : $(HTMLDIR)/new-users-guide.html
391 texinfo : $(HTMLDIR)/texinfo.html
392 399
393 html : $(html_files) 400 html : $(html_files)