Mercurial > emacs
annotate man/Makefile.in @ 18337:c87e4cdfcc71
Change color.
author | Per Abrahamsen <abraham@dina.kvl.dk> |
---|---|
date | Thu, 19 Jun 1997 12:52:23 +0000 |
parents | d80b4f8daf6d |
children | 88dd57f50303 |
rev | line source |
---|---|
10686 | 1 #### Makefile for the Emacs Manual and other documentation. |
2 | |
3 # Where to find the source code. The source code for Emacs's C kernel is | |
4 # expected to be in ${srcdir}/src, and the source code for Emacs's | |
5 # utility programs is expected to be in ${srcdir}/lib-src. This is | |
6 # set by the configure script's `--srcdir' option. | |
7 srcdir=@srcdir@ | |
8 | |
9 # Tell make where to find source files; this is needed for the makefiles. | |
10 VPATH=@srcdir@ | |
11 | |
12 | |
13 # The makeinfo program is part of the Texinfo distribution. | |
14 MAKEINFO = makeinfo | |
14103
b6ec260d7c2c
(../info/ccmode): Renamed from ../info/cc-mode.
Karl Heuer <kwzh@gnu.org>
parents:
13666
diff
changeset
|
15 INFO_TARGETS = ../info/emacs ../info/ccmode ../info/cl ../info/dired-x \ |
13666
e97eebb1206d
(../info/cc-mode, cc-mode.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
12384
diff
changeset
|
16 ../info/ediff ../info/forms ../info/gnus ../info/info \ |
15525
521a4d5ccea0
Add rules for the Message manual.
Lars Magne Ingebrigtsen <larsi@gnus.org>
parents:
15468
diff
changeset
|
17 ../info/mh-e ../info/sc ../info/vip ../info/viper \ |
17335
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
18 ../info/message ../info/custom ../info/widget |
13666
e97eebb1206d
(../info/cc-mode, cc-mode.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
12384
diff
changeset
|
19 DVI_TARGETS = emacs.dvi cc-mode.dvi cl.dvi dired-x.dvi ediff.dvi forms.dvi \ |
17335
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
20 gnus.dvi mh-e.dvi sc.dvi vip.dvi viper.dvi message.dvi \ |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
21 customize.dvi widget.dvi |
10686 | 22 INFOSOURCES = info.texi info-stnd.texi |
23 | |
24 # The following rule does not work with all versions of `make'. | |
25 .SUFFIXES: .texi .dvi | |
26 .texi.dvi: | |
27 texi2dvi $< | |
28 | |
29 TEXI2DVI = texi2dvi | |
30 | |
31 EMACSSOURCES= \ | |
32 ${srcdir}/emacs.texi \ | |
33 ${srcdir}/screen.texi \ | |
34 ${srcdir}/commands.texi \ | |
35 ${srcdir}/entering.texi \ | |
36 ${srcdir}/basic.texi \ | |
37 ${srcdir}/mini.texi \ | |
38 ${srcdir}/m-x.texi \ | |
39 ${srcdir}/help.texi \ | |
40 ${srcdir}/mark.texi \ | |
41 ${srcdir}/killing.texi \ | |
42 ${srcdir}/regs.texi \ | |
43 ${srcdir}/display.texi \ | |
44 ${srcdir}/search.texi \ | |
45 ${srcdir}/fixit.texi \ | |
46 ${srcdir}/files.texi \ | |
47 ${srcdir}/buffers.texi \ | |
48 ${srcdir}/windows.texi \ | |
49 ${srcdir}/frames.texi \ | |
50 ${srcdir}/major.texi \ | |
51 ${srcdir}/indent.texi \ | |
52 ${srcdir}/text.texi \ | |
53 ${srcdir}/programs.texi \ | |
54 ${srcdir}/building.texi \ | |
55 ${srcdir}/abbrevs.texi \ | |
56 ${srcdir}/picture.texi \ | |
57 ${srcdir}/sending.texi \ | |
58 ${srcdir}/rmail.texi \ | |
59 ${srcdir}/dired.texi \ | |
60 ${srcdir}/calendar.texi \ | |
61 ${srcdir}/misc.texi \ | |
62 ${srcdir}/custom.texi \ | |
63 ${srcdir}/trouble.texi \ | |
64 ${srcdir}/cmdargs.texi \ | |
65 ${srcdir}/anti.texi \ | |
66 ${srcdir}/gnu.texi \ | |
67 ${srcdir}/gnu1.texi \ | |
68 ${srcdir}/glossary.texi | |
69 | |
70 info: $(INFO_TARGETS) | |
71 | |
72 dvi: $(DVI_TARGETS) | |
73 | |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
74 # Note that all the Info targets build the Info files |
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
75 # in srcdir. There is no provision for Info files |
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
76 # to exist in the build directory. |
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
77 # In a distribution of Emacs, the Info files should be up to date. |
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
78 |
10686 | 79 ../info/info: ${INFOSOURCES} |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
80 cd $(srcdir); $(MAKEINFO) --no-split info.texi |
10686 | 81 |
82 info.dvi: ${INFOSOURCES} | |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
83 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/info.texi |
10686 | 84 |
85 ../info/emacs: ${EMACSSOURCES} | |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
86 cd $(srcdir); $(MAKEINFO) emacs.texi |
10686 | 87 |
88 emacs.dvi: ${EMACSSOURCES} | |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
89 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/emacs.texi |
10686 | 90 |
14103
b6ec260d7c2c
(../info/ccmode): Renamed from ../info/cc-mode.
Karl Heuer <kwzh@gnu.org>
parents:
13666
diff
changeset
|
91 ../info/ccmode: cc-mode.texi |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
92 cd $(srcdir); $(MAKEINFO) cc-mode.texi |
13666
e97eebb1206d
(../info/cc-mode, cc-mode.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
12384
diff
changeset
|
93 cc-mode.dvi: cc-mode.texi |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
94 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/cc-mode.texi |
13666
e97eebb1206d
(../info/cc-mode, cc-mode.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
12384
diff
changeset
|
95 |
10686 | 96 ../info/cl: cl.texi |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
97 cd $(srcdir); $(MAKEINFO) cl.texi |
10686 | 98 cl.dvi: cl.texi |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
99 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/cl.texi |
10686 | 100 |
101 ../info/dired-x: dired-x.texi | |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
102 cd $(srcdir); $(MAKEINFO) dired-x.texi |
10686 | 103 dired-x.dvi: dired-x.texi |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
104 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/dired-x.texi |
10686 | 105 |
12384
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
106 ../info/ediff: ediff.texi |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
107 cd $(srcdir); $(MAKEINFO) ediff.texi |
12384
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
108 ediff.dvi: ediff.texi |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
109 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/ediff.texi |
12384
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
110 |
10686 | 111 ../info/forms: forms.texi |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
112 cd $(srcdir); $(MAKEINFO) forms.texi |
10686 | 113 forms.dvi: forms.texi |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
114 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/forms.texi |
10686 | 115 |
11478
8a5fc4539429
(INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents:
10686
diff
changeset
|
116 ../info/mh-e: mh-e.texi |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
117 cd $(srcdir); $(MAKEINFO) mh-e.texi |
11478
8a5fc4539429
(INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents:
10686
diff
changeset
|
118 mh-e.dvi: mh-e.texi |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
119 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/mh-e.texi |
11478
8a5fc4539429
(INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents:
10686
diff
changeset
|
120 |
10686 | 121 ../info/sc: sc.texi |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
122 cd $(srcdir); $(MAKEINFO) sc.texi |
10686 | 123 sc.dvi: sc.texi |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
124 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/sc.texi |
10686 | 125 |
126 ../info/vip: vip.texi | |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
127 cd $(srcdir); $(MAKEINFO) vip.texi |
10686 | 128 vip.dvi: vip.texi |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
129 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/vip.texi |
10686 | 130 |
131 ../info/gnus: gnus.texi | |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
132 cd $(srcdir); $(MAKEINFO) gnus.texi |
10686 | 133 gnus.dvi: gnus.texi |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
134 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/gnus.texi |
10686 | 135 |
15525
521a4d5ccea0
Add rules for the Message manual.
Lars Magne Ingebrigtsen <larsi@gnus.org>
parents:
15468
diff
changeset
|
136 ../info/message: message.texi |
521a4d5ccea0
Add rules for the Message manual.
Lars Magne Ingebrigtsen <larsi@gnus.org>
parents:
15468
diff
changeset
|
137 cd $(srcdir); $(MAKEINFO) message.texi |
521a4d5ccea0
Add rules for the Message manual.
Lars Magne Ingebrigtsen <larsi@gnus.org>
parents:
15468
diff
changeset
|
138 message.dvi: message.texi |
521a4d5ccea0
Add rules for the Message manual.
Lars Magne Ingebrigtsen <larsi@gnus.org>
parents:
15468
diff
changeset
|
139 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/message.texi |
521a4d5ccea0
Add rules for the Message manual.
Lars Magne Ingebrigtsen <larsi@gnus.org>
parents:
15468
diff
changeset
|
140 |
17335
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
141 ../info/widget: widget.texi |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
142 cd $(srcdir); $(MAKEINFO) widget.texi |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
143 widget.dvi: widget.texi |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
144 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/widget.texi |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
145 |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
146 ../info/custom: customize.texi |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
147 cd $(srcdir); $(MAKEINFO) customize.texi |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
148 customize.dvi: customize.texi |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
149 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/customize.texi |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
150 |
10686 | 151 ../etc/GNU: gnu1.texi gnu.texi |
152 makeinfo --no-headers -o ../etc/GNU gnu1.texi | |
153 | |
11511
b804f7df771d
(INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents:
11478
diff
changeset
|
154 ../info/viper: viper.texi viper-cmd.texi |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
155 cd $(srcdir); $(MAKEINFO) viper.texi |
11511
b804f7df771d
(INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents:
11478
diff
changeset
|
156 viper.dvi: viper.texi viper-cmd.texi |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
157 TEXINPUTS="$(srcdir) $(TEXINPUTS)"; $(TEXI2DVI) ${srcdir}/viper.texi |
11511
b804f7df771d
(INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents:
11478
diff
changeset
|
158 |
10686 | 159 mostlyclean: |
160 rm -f *.log *.cp *.fn *.ky *.pg *.vr core | |
161 | |
162 clean: mostlyclean | |
163 rm -f *.dvi | |
164 | |
165 distclean: clean | |
166 | |
167 maintainer-clean: distclean | |
168 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs | |
169 # Don't delete these, because they are outside the current directory. | |
170 # for file in $(INFO_TARGETS); do rm -f $${file}*; done | |
171 | |
172 | |
173 # Formerly this directory had texindex.c and getopt.c in it | |
174 # and this makefile built them to make texindex. | |
175 # That caused trouble because this is run entirely in the source directory. | |
176 # Since we expect to get texi2dvi from elsewhere, | |
177 # it is ok to expect texindex from elsewhere also. |