comparison man/Makefile @ 2418:e19aeba465d6

[xemacs-hg @ 2004-12-05 22:30:39 by adrian] [PATCH] xemacs-21.5: make man/xemacs-faq.texi ready to replace <3byk8v6x.fsf@smtprelay.t-online.de>
author adrian
date Sun, 05 Dec 2004 22:30:40 +0000
parents f43f9ca6c7d9
children 97dd9f867cef
comparison
equal deleted inserted replaced
2417:8b907450718f 2418:e19aeba465d6
20 # Boston, MA 02111-1307, USA. 20 # Boston, MA 02111-1307, USA.
21 21
22 SHELL = /bin/sh 22 SHELL = /bin/sh
23 MAKEINFO = makeinfo 23 MAKEINFO = makeinfo
24 TEXI2DVI = texi2dvi 24 TEXI2DVI = texi2dvi
25 TEXI2HTML = texi2html -verbose -split chapter 25 TEXI2HTML = texi2html -verbose -subdir $(HTMLDIR)
26 TEXI2HTML_SPLIT = $(TEXI2HTML) -split chapter
26 27
27 RM = rm -f 28 RM = rm -f
29 CP = cp
28 30
29 .SUFFIXES: 31 .SUFFIXES:
30 .SUFFIXES: .html .info .texi .dvi .pdf 32 .SUFFIXES: .html .info .texi .dvi .pdf
31 33
32 RECURSIVE_MAKE = $(MAKE) $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)' 34 RECURSIVE_MAKE = $(MAKE) $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)'
35 37
36 # Ughhh! The things we do to have portable makefiles... 38 # Ughhh! The things we do to have portable makefiles...
37 39
38 INFODIR = ../info 40 INFODIR = ../info
39 HTMLDIR = ../html 41 HTMLDIR = ../html
42 PHOTODIR = ../etc/photos
40 43
41 info_files = \ 44 info_files = \
42 $(INFODIR)/cl.info \ 45 $(INFODIR)/cl.info \
43 $(INFODIR)/custom.info \ 46 $(INFODIR)/custom.info \
44 $(INFODIR)/emodules.info \ 47 $(INFODIR)/emodules.info \
336 $(RM) *~ \#* */*~ */\#* 339 $(RM) *~ \#* */*~ */\#*
337 340
338 ############################################################################ 341 ############################################################################
339 342
340 $(HTMLDIR)/cl.html : cl.texi 343 $(HTMLDIR)/cl.html : cl.texi
341 $(TEXI2HTML) -subdir $(HTMLDIR) cl.texi 344 $(TEXI2HTML_SPLIT) cl.texi
342 345
343 $(HTMLDIR)/custom.html : custom.texi 346 $(HTMLDIR)/custom.html : custom.texi
344 $(TEXI2HTML) -subdir $(HTMLDIR) custom.texi 347 $(TEXI2HTML_SPLIT) custom.texi
345 348
346 $(HTMLDIR)/emodules.html : emodules.texi 349 $(HTMLDIR)/emodules.html : emodules.texi
347 $(TEXI2HTML) -subdir $(HTMLDIR) emodules.texi 350 $(TEXI2HTML_SPLIT) emodules.texi
348 351
349 $(HTMLDIR)/external-widget.html : external-widget.texi 352 $(HTMLDIR)/external-widget.html : external-widget.texi
350 $(TEXI2HTML) -subdir $(HTMLDIR) external-widget.texi 353 $(TEXI2HTML_SPLIT) external-widget.texi
351 354
352 $(HTMLDIR)/info.html : info.texi 355 $(HTMLDIR)/info.html : info.texi
353 $(TEXI2HTML) -subdir $(HTMLDIR) info.texi 356 $(TEXI2HTML_SPLIT) info.texi
354 357
355 $(HTMLDIR)/standards.html : standards.texi 358 $(HTMLDIR)/standards.html : standards.texi
356 $(TEXI2HTML) -subdir $(HTMLDIR) standards.texi 359 $(TEXI2HTML_SPLIT) standards.texi
357 360
358 $(HTMLDIR)/term.html : term.texi 361 $(HTMLDIR)/term.html : term.texi
359 $(TEXI2HTML) -subdir $(HTMLDIR) term.texi 362 $(TEXI2HTML_SPLIT) term.texi
360 363
361 $(HTMLDIR)/termcap.html : termcap.texi 364 $(HTMLDIR)/termcap.html : termcap.texi
362 $(TEXI2HTML) -subdir $(HTMLDIR) termcap.texi 365 $(TEXI2HTML_SPLIT) termcap.texi
363 366
364 $(HTMLDIR)/texinfo.html : texinfo.texi 367 $(HTMLDIR)/texinfo.html : texinfo.texi
365 $(TEXI2HTML) -subdir $(HTMLDIR) texinfo.texi 368 $(TEXI2HTML_SPLIT) texinfo.texi
366 369
367 $(HTMLDIR)/widget.html : widget.texi 370 $(HTMLDIR)/widget.html : widget.texi
368 $(TEXI2HTML) -subdir $(HTMLDIR) widget.texi 371 $(TEXI2HTML_SPLIT) widget.texi
369 372
370 $(HTMLDIR)/xemacs-faq.html : xemacs-faq.texi 373 $(HTMLDIR)/xemacs-faq.html : xemacs-faq.texi
371 $(TEXI2HTML) -top_file xemacs-faq_1.html -subdir $(HTMLDIR) xemacs-faq.texi 374 $(TEXI2HTML) xemacs-faq.texi
375 $(TEXI2HTML_SPLIT) -top_file xemacs-faq_1.html xemacs-faq.texi
376 $(CP) $(PHOTODIR)/ben.png $(HTMLDIR)
377 $(CP) $(PHOTODIR)/cthomp.png $(HTMLDIR)
378 $(CP) $(PHOTODIR)/hniksic.png $(HTMLDIR)
379 $(CP) $(PHOTODIR)/jwz.png $(HTMLDIR)
380 $(CP) $(PHOTODIR)/martin.png $(HTMLDIR)
381 $(CP) $(PHOTODIR)/mly.png $(HTMLDIR)
382 $(CP) $(PHOTODIR)/piper.png $(HTMLDIR)
383 $(CP) $(PHOTODIR)/slb.png $(HTMLDIR)
372 384
373 # Manuals with their own subdirectory 385 # Manuals with their own subdirectory
374 $(HTMLDIR)/xemacs.html : $(xemacs-srcs) 386 $(HTMLDIR)/xemacs.html : $(xemacs-srcs)
375 $(TEXI2HTML) -subdir $(HTMLDIR) xemacs/xemacs.texi 387 $(TEXI2HTML_SPLIT) xemacs/xemacs.texi
376 388
377 $(HTMLDIR)/lispref.html : $(lispref-srcs) 389 $(HTMLDIR)/lispref.html : $(lispref-srcs)
378 $(TEXI2HTML) -subdir $(HTMLDIR) lispref/lispref.texi 390 $(TEXI2HTML_SPLIT) lispref/lispref.texi
379 391
380 $(HTMLDIR)/internals.html : $(internals-srcs) 392 $(HTMLDIR)/internals.html : $(internals-srcs)
381 $(TEXI2HTML) -subdir $(HTMLDIR) internals/internals.texi 393 $(TEXI2HTML_SPLIT) internals/internals.texi
382 394
383 $(HTMLDIR)/new-users-guide.html : $(new-users-guide-srcs) 395 $(HTMLDIR)/new-users-guide.html : $(new-users-guide-srcs)
384 $(TEXI2HTML) -subdir $(HTMLDIR) new-users-guide/new-users-guide.texi 396 $(TEXI2HTML_SPLIT) new-users-guide/new-users-guide.texi
385 397
386 xemacs : $(HTMLDIR)/xemacs.html 398 xemacs : $(HTMLDIR)/xemacs.html
387 lispref : $(HTMLDIR)/lispref.html 399 lispref : $(HTMLDIR)/lispref.html
388 internals : $(HTMLDIR)/internals.html 400 internals : $(HTMLDIR)/internals.html
389 new-users-guide.html : $(HTMLDIR)/new-users-guide.html 401 new-users-guide.html : $(HTMLDIR)/new-users-guide.html