Mercurial > hg > xemacs-beta
comparison man/Makefile @ 5507:64be8a494bdc
Backed out changeset a7da359711ce, restoring Ben's GPLv3 manual changes.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 09 May 2011 19:38:01 +0100 |
parents | a7da359711ce |
children | 3fe8358ad59a |
comparison
equal
deleted
inserted
replaced
5496:a7da359711ce | 5507:64be8a494bdc |
---|---|
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 Ben Wing. | 4 # Copyright (C) 2005, 2010 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 info_files = \ | 46 src_files1 = \ |
47 $(INFODIR)/beta.info \ | 47 $(DIR)beta.texi \ |
48 $(INFODIR)/cl.info \ | 48 $(DIR)cl.texi \ |
49 $(INFODIR)/custom.info \ | 49 $(DIR)custom.texi \ |
50 $(INFODIR)/emodules.info \ | 50 $(DIR)emodules.texi \ |
51 $(INFODIR)/external-widget.info \ | 51 $(DIR)external-widget.texi \ |
52 $(INFODIR)/info.info \ | 52 $(DIR)info.texi \ |
53 $(INFODIR)/internals.info \ | 53 $(DIR)internals.texi \ |
54 $(INFODIR)/lispref.info \ | 54 $(DIR)lispref.texi \ |
55 $(INFODIR)/new-users-guide.info \ | 55 $(DIR)new-users-guide.texi \ |
56 $(INFODIR)/standards.info \ | 56 $(DIR)standards.texi \ |
57 $(INFODIR)/term.info \ | 57 $(DIR)term.texi \ |
58 $(INFODIR)/termcap.info \ | 58 $(DIR)termcap.texi \ |
59 $(INFODIR)/texinfo.info \ | 59 $(DIR)texinfo.texi \ |
60 $(INFODIR)/widget.info \ | 60 $(DIR)widget.texi \ |
61 $(INFODIR)/xemacs-faq.info \ | 61 $(DIR)xemacs.texi \ |
62 $(INFODIR)/xemacs.info | 62 $(DIR)xemacs-faq.texi |
63 | 63 |
64 html_files = \ | 64 DIR:= |
65 $(HTMLDIR)/beta.html \ | 65 src_files := $(src_files1) |
66 $(HTMLDIR)/cl.html \ | 66 |
67 $(HTMLDIR)/custom.html \ | 67 DIR := $(INFODIR)/ |
68 $(HTMLDIR)/emodules.html \ | 68 info_files := $(src_files1:.texi=.info) |
69 $(HTMLDIR)/external-widget.html \ | 69 |
70 $(HTMLDIR)/info.html \ | 70 DIR := $(HTMLDIR)/ |
71 $(HTMLDIR)/lispref.html \ | 71 html_files := $(src_files1:.texi=.html) |
72 $(HTMLDIR)/internals.html \ | 72 |
73 $(HTMLDIR)/new-users-guide.html \ | 73 dvi_files := $(src_files:.texi=.dvi) |
74 $(HTMLDIR)/standards.html \ | 74 |
75 $(HTMLDIR)/term.html \ | 75 pdf_files := $(src_files:.texi=.pdf) |
76 $(HTMLDIR)/termcap.html \ | 76 |
77 $(HTMLDIR)/texinfo.html \ | |
78 $(HTMLDIR)/widget.html \ | |
79 $(HTMLDIR)/xemacs.html \ | |
80 $(HTMLDIR)/xemacs-faq.html | |
81 | |
82 dvi_files = \ | |
83 beta.dvi \ | |
84 cl.dvi \ | |
85 custom.dvi \ | |
86 emodules.dvi \ | |
87 external-widget.dvi \ | |
88 info.dvi \ | |
89 lispref.dvi \ | |
90 internals.dvi \ | |
91 new-users-guide.dvi \ | |
92 standards.dvi \ | |
93 term.dvi \ | |
94 termcap.dvi \ | |
95 texinfo.dvi \ | |
96 widget.dvi \ | |
97 xemacs.dvi \ | |
98 xemacs-faq.dvi | |
99 | |
100 pdf_files = \ | |
101 beta.pdf \ | |
102 cl.pdf \ | |
103 custom.pdf \ | |
104 emodules.pdf \ | |
105 external-widget.pdf \ | |
106 info.pdf \ | |
107 lispref.pdf \ | |
108 internals.pdf \ | |
109 new-users-guide.pdf \ | |
110 standards.pdf \ | |
111 term.pdf \ | |
112 termcap.pdf \ | |
113 texinfo.pdf \ | |
114 widget.pdf \ | |
115 xemacs.pdf \ | |
116 xemacs-faq.pdf | |
117 | 77 |
118 xemacs-srcs = \ | 78 xemacs-srcs = \ |
119 xemacs/abbrevs.texi \ | 79 xemacs/abbrevs.texi \ |
120 xemacs/basic.texi \ | 80 xemacs/basic.texi \ |
121 xemacs/buffers.texi \ | 81 xemacs/buffers.texi \ |
241 new-users-guide/new-users-guide.texi \ | 201 new-users-guide/new-users-guide.texi \ |
242 new-users-guide/region.texi \ | 202 new-users-guide/region.texi \ |
243 new-users-guide/search.texi \ | 203 new-users-guide/search.texi \ |
244 new-users-guide/xmenu.texi | 204 new-users-guide/xmenu.texi |
245 | 205 |
206 texinfo-srcs = \ | |
207 texinfo/fdl.texi \ | |
208 texinfo/texinfo.texi \ | |
209 texinfo/version.texi | |
210 | |
246 $(INFODIR)/beta.info : beta.texi | 211 $(INFODIR)/beta.info : beta.texi |
247 $(MAKEINFO) -o $(INFODIR)/beta.info beta.texi | 212 $(MAKEINFO) -o $(INFODIR)/beta.info beta.texi |
248 | 213 |
249 $(INFODIR)/cl.info : cl.texi | 214 $(INFODIR)/cl.info : cl.texi |
250 $(MAKEINFO) -o $(INFODIR)/cl.info cl.texi | 215 $(MAKEINFO) -o $(INFODIR)/cl.info cl.texi |
268 $(MAKEINFO) -o $(INFODIR)/term.info term.texi | 233 $(MAKEINFO) -o $(INFODIR)/term.info term.texi |
269 | 234 |
270 $(INFODIR)/termcap.info : termcap.texi | 235 $(INFODIR)/termcap.info : termcap.texi |
271 $(MAKEINFO) -o $(INFODIR)/termcap.info termcap.texi | 236 $(MAKEINFO) -o $(INFODIR)/termcap.info termcap.texi |
272 | 237 |
273 $(INFODIR)/texinfo.info : texinfo.texi | 238 $(INFODIR)/widget.info : widget.texi doclicense.texi |
274 $(MAKEINFO) -o $(INFODIR)/texinfo.info texinfo.texi | |
275 | |
276 $(INFODIR)/widget.info : widget.texi | |
277 $(MAKEINFO) -o $(INFODIR)/widget.info widget.texi | 239 $(MAKEINFO) -o $(INFODIR)/widget.info widget.texi |
278 | 240 |
279 $(INFODIR)/xemacs-faq.info : xemacs-faq.texi | 241 $(INFODIR)/xemacs-faq.info : xemacs-faq.texi |
280 $(MAKEINFO) -o $(INFODIR)/xemacs-faq.info xemacs-faq.texi | 242 $(MAKEINFO) -o $(INFODIR)/xemacs-faq.info xemacs-faq.texi |
281 | 243 |
289 $(INFODIR)/internals.info : $(internals-srcs) | 251 $(INFODIR)/internals.info : $(internals-srcs) |
290 $(MAKEINFO) -P internals -o $(INFODIR)/internals.info internals/internals.texi | 252 $(MAKEINFO) -P internals -o $(INFODIR)/internals.info internals/internals.texi |
291 | 253 |
292 $(INFODIR)/new-users-guide.info : $(new-users-guide-srcs) | 254 $(INFODIR)/new-users-guide.info : $(new-users-guide-srcs) |
293 $(MAKEINFO) -P new-users-guide -o $(INFODIR)/new-users-guide.info new-users-guide/new-users-guide.texi | 255 $(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 | |
294 | 259 |
295 xemacs : $(INFODIR)/xemacs.info | 260 xemacs : $(INFODIR)/xemacs.info |
296 lispref : $(INFODIR)/lispref.info | 261 lispref : $(INFODIR)/lispref.info |
297 internals : $(INFODIR)/internals.info | 262 internals : $(INFODIR)/internals.info |
298 new-users-guide.info : $(INFODIR)/new-users-guide.info | 263 new-users-guide.info : $(INFODIR)/new-users-guide.info |
299 | 264 texinfo : $(INFODIR)/texinfo.info |
300 .PHONY : xemacs lispref internals new-users-guide info dvi pdf | 265 |
266 .PHONY : xemacs lispref internals new-users-guide texinfo info dvi pdf | |
301 | 267 |
302 info : $(info_files) | 268 info : $(info_files) |
303 html : $(html_files) | 269 html : $(html_files) |
304 | 270 |
305 .texi.dvi: | 271 .texi.dvi: |
318 $(TEXI2DVI) -I internals internals/internals.texi | 284 $(TEXI2DVI) -I internals internals/internals.texi |
319 | 285 |
320 new-users-guide.dvi : $(new-users-guide-srcs) | 286 new-users-guide.dvi : $(new-users-guide-srcs) |
321 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi | 287 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi |
322 | 288 |
289 texinfo.dvi : $(texinfo-srcs) | |
290 $(TEXI2DVI) -I texinfo texinfo/texinfo.texi | |
291 | |
323 dvi : $(dvi_files) | 292 dvi : $(dvi_files) |
324 | 293 |
325 xemacs.pdf: $(xemacs-srcs) | 294 xemacs.pdf: $(xemacs-srcs) |
326 $(TEXI2DVI) --pdf -I xemacs xemacs/xemacs.texi | 295 $(TEXI2DVI) --pdf -I xemacs xemacs/xemacs.texi |
327 | 296 |
331 internals.pdf: $(internals-srcs) | 300 internals.pdf: $(internals-srcs) |
332 $(TEXI2DVI) --pdf -I internals internals/internals.texi | 301 $(TEXI2DVI) --pdf -I internals internals/internals.texi |
333 | 302 |
334 new-users-guide.pdf: $(new-users-guide-srcs) | 303 new-users-guide.pdf: $(new-users-guide-srcs) |
335 $(TEXI2DVI) --pdf -I new-users-guide new-users-guide/new-users-guide.texi | 304 $(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 | |
336 | 308 |
337 pdf: $(pdf_files) | 309 pdf: $(pdf_files) |
338 | 310 |
339 .PHONY: mostlyclean clean distclean realclean extraclean | 311 .PHONY: mostlyclean clean distclean realclean extraclean |
340 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig | 312 .PHONY: distclean-noconfig realclean-noconfig extraclean-noconfig |
379 $(TEXI2HTML_SPLIT) term.texi | 351 $(TEXI2HTML_SPLIT) term.texi |
380 | 352 |
381 $(HTMLDIR)/termcap.html : termcap.texi | 353 $(HTMLDIR)/termcap.html : termcap.texi |
382 $(TEXI2HTML_SPLIT) termcap.texi | 354 $(TEXI2HTML_SPLIT) termcap.texi |
383 | 355 |
384 $(HTMLDIR)/texinfo.html : texinfo.texi | |
385 $(TEXI2HTML_SPLIT) texinfo.texi | |
386 | |
387 $(HTMLDIR)/widget.html : widget.texi | 356 $(HTMLDIR)/widget.html : widget.texi |
388 $(TEXI2HTML_SPLIT) widget.texi | 357 $(TEXI2HTML_SPLIT) widget.texi |
389 | 358 |
390 $(HTMLDIR)/xemacs-faq.html : xemacs-faq.texi | 359 $(HTMLDIR)/xemacs-faq.html : xemacs-faq.texi |
391 $(TEXI2HTML_NOSPLIT) xemacs-faq.texi | 360 $(TEXI2HTML_NOSPLIT) xemacs-faq.texi |
410 $(TEXI2HTML_SPLIT) internals/internals.texi | 379 $(TEXI2HTML_SPLIT) internals/internals.texi |
411 | 380 |
412 $(HTMLDIR)/new-users-guide.html : $(new-users-guide-srcs) | 381 $(HTMLDIR)/new-users-guide.html : $(new-users-guide-srcs) |
413 $(TEXI2HTML_SPLIT) new-users-guide/new-users-guide.texi | 382 $(TEXI2HTML_SPLIT) new-users-guide/new-users-guide.texi |
414 | 383 |
384 $(HTMLDIR)/texinfo.html : $(texinfo-srcs) | |
385 $(TEXI2HTML_SPLIT) texinfo/texinfo.texi | |
386 | |
415 xemacs : $(HTMLDIR)/xemacs.html | 387 xemacs : $(HTMLDIR)/xemacs.html |
416 lispref : $(HTMLDIR)/lispref.html | 388 lispref : $(HTMLDIR)/lispref.html |
417 internals : $(HTMLDIR)/internals.html | 389 internals : $(HTMLDIR)/internals.html |
418 new-users-guide.html : $(HTMLDIR)/new-users-guide.html | 390 new-users-guide.html : $(HTMLDIR)/new-users-guide.html |
391 texinfo : $(HTMLDIR)/texinfo.html | |
419 | 392 |
420 html : $(html_files) | 393 html : $(html_files) |