Mercurial > hg > xemacs-beta
comparison man/Makefile @ 1702:245980c04067
[xemacs-hg @ 2003-09-20 01:25:47 by youngs]
2003-09-19 Sandra Wambold <wambold@xemacs.org>
* Makefile: add targets to produce PDF files
author | youngs |
---|---|
date | Sat, 20 Sep 2003 01:25:48 +0000 |
parents | 79940b592197 |
children | f43f9ca6c7d9 |
comparison
equal
deleted
inserted
replaced
1701:a1e328407366 | 1702:245980c04067 |
---|---|
25 TEXI2HTML = texi2html -verbose -split chapter | 25 TEXI2HTML = texi2html -verbose -split chapter |
26 | 26 |
27 RM = rm -f | 27 RM = rm -f |
28 | 28 |
29 .SUFFIXES: | 29 .SUFFIXES: |
30 .SUFFIXES: .html .info .texi .dvi | 30 .SUFFIXES: .html .info .texi .dvi .pdf |
31 | 31 |
32 RECURSIVE_MAKE = $(MAKE) $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)' | 32 RECURSIVE_MAKE = $(MAKE) $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)' |
33 | 33 |
34 all : info | 34 all : info |
35 | 35 |
86 termcap.dvi \ | 86 termcap.dvi \ |
87 texinfo.dvi \ | 87 texinfo.dvi \ |
88 widget.dvi \ | 88 widget.dvi \ |
89 xemacs.dvi \ | 89 xemacs.dvi \ |
90 xemacs-faq.dvi | 90 xemacs-faq.dvi |
91 | |
92 pdf_files = \ | |
93 cl.pdf \ | |
94 custom.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 term.pdf \ | |
103 termcap.pdf \ | |
104 texinfo.pdf \ | |
105 widget.pdf \ | |
106 xemacs.pdf \ | |
107 xemacs-faq.pdf | |
91 | 108 |
92 xemacs-srcs = \ | 109 xemacs-srcs = \ |
93 xemacs/abbrevs.texi \ | 110 xemacs/abbrevs.texi \ |
94 xemacs/basic.texi \ | 111 xemacs/basic.texi \ |
95 xemacs/buffers.texi \ | 112 xemacs/buffers.texi \ |
279 xemacs : $(INFODIR)/xemacs.info | 296 xemacs : $(INFODIR)/xemacs.info |
280 lispref : $(INFODIR)/lispref.info | 297 lispref : $(INFODIR)/lispref.info |
281 internals : $(INFODIR)/internals.info | 298 internals : $(INFODIR)/internals.info |
282 new-users-guide.info : $(INFODIR)/new-users-guide.info | 299 new-users-guide.info : $(INFODIR)/new-users-guide.info |
283 | 300 |
284 .PHONY : xemacs lispref internals new-users-guide info dvi | 301 .PHONY : xemacs lispref internals new-users-guide info dvi pdf |
285 | 302 |
286 info : $(info_files) | 303 info : $(info_files) |
287 html : $(html_files) | 304 html : $(html_files) |
288 | 305 |
289 # tm: FRC.tm | 306 # tm: FRC.tm |
295 .PHONY: info dvi | 312 .PHONY: info dvi |
296 | 313 |
297 .texi.dvi: | 314 .texi.dvi: |
298 -$(TEXI2DVI) $< | 315 -$(TEXI2DVI) $< |
299 | 316 |
317 .texi.pdf: | |
318 -$(TEXI2DVI) --pdf $< | |
319 | |
300 xemacs.dvi : $(xemacs-srcs) | 320 xemacs.dvi : $(xemacs-srcs) |
301 $(TEXI2DVI) -I xemacs xemacs/xemacs.texi | 321 $(TEXI2DVI) -I xemacs xemacs/xemacs.texi |
302 | 322 |
303 lispref.dvi : $(lispref-srcs) | 323 lispref.dvi : $(lispref-srcs) |
304 $(TEXI2DVI) -I lispref lispref/lispref.texi | 324 $(TEXI2DVI) -I lispref lispref/lispref.texi |
308 | 328 |
309 new-users-guide.dvi : $(new-users-guide-srcs) | 329 new-users-guide.dvi : $(new-users-guide-srcs) |
310 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi | 330 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi |
311 | 331 |
312 dvi : $(dvi_files) | 332 dvi : $(dvi_files) |
333 | |
334 xemacs.pdf: $(xemacs-srcs) | |
335 $(TEXI2DVI) --pdf -I xemacs xemacs/xemacs.texi | |
336 | |
337 lispref.pdf: $(lispref-srcs) | |
338 $(TEXI2DVI) --pdf -I lispref lispref/lispref.texi | |
339 | |
340 internals.pdf: $(internals-srcs) | |
341 $(TEXI2DVI) --pdf -I internals internals/internals.texi | |
342 | |
343 new-users-guide.pdf: $(new-users-guide-srcs) | |
344 $(TEXI2DVI) --pdf -I new-users-guide new-users-guide/new-users-guide.texi | |
345 | |
346 pdf: $(pdf_files) | |
313 | 347 |
314 .PHONY: mostlyclean clean distclean realclean extraclean | 348 .PHONY: mostlyclean clean distclean realclean extraclean |
315 mostlyclean: | 349 mostlyclean: |
316 $(RM) *.toc *.aux *.log *.op *.cp *.cps *.fn *.fns | 350 $(RM) *.toc *.aux *.log *.op *.cp *.cps *.fn *.fns |
317 $(RM) *.ky *.kys *.pg *.pgs *.tp *.tps *.vr *.vrs | 351 $(RM) *.ky *.kys *.pg *.pgs *.tp *.tps *.vr *.vrs |
318 clean: mostlyclean | 352 clean: mostlyclean |
319 $(RM) core *.dvi | 353 $(RM) core *.dvi *.pdf |
320 distclean: clean | 354 distclean: clean |
321 realclean: distclean | 355 realclean: distclean |
322 extraclean: distclean | 356 extraclean: distclean |
323 $(RM) *~ \#* */*~ */\#* | 357 $(RM) *~ \#* */*~ */\#* |
324 | 358 |