Mercurial > emacs
annotate man/Makefile.in @ 26606:12a1dfb72160
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 26 Nov 1999 12:31:42 +0000 |
parents | 96712277c1da |
children | 02916c79485d |
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 | |
23820
3d67195ddc6a
(INFO_TARGETS): Delete customize.info.
Markus Rost <rost@math.uni-bielefeld.de>
parents:
22105
diff
changeset
|
15 INFO_TARGETS = ../info/emacs ../info/ccmode ../info/cl \ |
22105 | 16 ../info/dired-x ../info/ediff ../info/forms ../info/gnus \ |
17 ../info/info ../info/message ../info/mh-e ../info/reftex \ | |
25477 | 18 ../info/sc ../info/vip ../info/viper ../info/widget \ |
26150 | 19 ../info/emacs-faq.info ../info/ada-mode ../info/autotype |
23820
3d67195ddc6a
(INFO_TARGETS): Delete customize.info.
Markus Rost <rost@math.uni-bielefeld.de>
parents:
22105
diff
changeset
|
20 DVI_TARGETS = emacs.dvi cc-mode.dvi cl.dvi dired-x.dvi \ |
20863
6ee33d0e1682
(reftex.dvi, ../info/reftex): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
19968
diff
changeset
|
21 ediff.dvi forms.dvi gnus.dvi message.dvi mh-e.dvi \ |
25914
5b157f24c1e8
(INFO_TARGETS, DVI_TARGETS): Add ada-mode.
Gerd Moellmann <gerd@gnu.org>
parents:
25477
diff
changeset
|
22 reftex.dvi sc.dvi vip.dvi viper.dvi widget.dvi faq.dvi \ |
26150 | 23 ada-mode.dvi autotype.dvi |
10686 | 24 INFOSOURCES = info.texi info-stnd.texi |
25 | |
26 # The following rule does not work with all versions of `make'. | |
27 .SUFFIXES: .texi .dvi | |
28 .texi.dvi: | |
29 texi2dvi $< | |
30 | |
31 TEXI2DVI = texi2dvi | |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
32 ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)" |
10686 | 33 |
34 EMACSSOURCES= \ | |
35 ${srcdir}/emacs.texi \ | |
36 ${srcdir}/screen.texi \ | |
37 ${srcdir}/commands.texi \ | |
38 ${srcdir}/entering.texi \ | |
39 ${srcdir}/basic.texi \ | |
40 ${srcdir}/mini.texi \ | |
41 ${srcdir}/m-x.texi \ | |
42 ${srcdir}/help.texi \ | |
43 ${srcdir}/mark.texi \ | |
44 ${srcdir}/killing.texi \ | |
45 ${srcdir}/regs.texi \ | |
46 ${srcdir}/display.texi \ | |
47 ${srcdir}/search.texi \ | |
48 ${srcdir}/fixit.texi \ | |
49 ${srcdir}/files.texi \ | |
50 ${srcdir}/buffers.texi \ | |
51 ${srcdir}/windows.texi \ | |
52 ${srcdir}/frames.texi \ | |
21965
3681d61e4ed8
(EMACSSOURCES): Add mule.texi.
Richard M. Stallman <rms@gnu.org>
parents:
21392
diff
changeset
|
53 ${srcdir}/mule.texi \ |
10686 | 54 ${srcdir}/major.texi \ |
55 ${srcdir}/indent.texi \ | |
56 ${srcdir}/text.texi \ | |
57 ${srcdir}/programs.texi \ | |
58 ${srcdir}/building.texi \ | |
59 ${srcdir}/abbrevs.texi \ | |
60 ${srcdir}/picture.texi \ | |
61 ${srcdir}/sending.texi \ | |
62 ${srcdir}/rmail.texi \ | |
63 ${srcdir}/dired.texi \ | |
64 ${srcdir}/calendar.texi \ | |
65 ${srcdir}/misc.texi \ | |
66 ${srcdir}/custom.texi \ | |
67 ${srcdir}/trouble.texi \ | |
68 ${srcdir}/cmdargs.texi \ | |
69 ${srcdir}/anti.texi \ | |
21968
42f675eaceff
(EMACSSOURCES): Add msdog.texi, ack.texi. Remove gnu1.texi.
Richard M. Stallman <rms@gnu.org>
parents:
21965
diff
changeset
|
70 ${srcdir}/msdog.texi \ |
10686 | 71 ${srcdir}/gnu.texi \ |
21968
42f675eaceff
(EMACSSOURCES): Add msdog.texi, ack.texi. Remove gnu1.texi.
Richard M. Stallman <rms@gnu.org>
parents:
21965
diff
changeset
|
72 ${srcdir}/glossary.texi \ |
42f675eaceff
(EMACSSOURCES): Add msdog.texi, ack.texi. Remove gnu1.texi.
Richard M. Stallman <rms@gnu.org>
parents:
21965
diff
changeset
|
73 ${srcdir}/ack.texi |
10686 | 74 |
75 info: $(INFO_TARGETS) | |
76 | |
77 dvi: $(DVI_TARGETS) | |
78 | |
15467
5211a1402647
(All info targets): Specify $(srcdir) in input files. Specify -I option.
Richard M. Stallman <rms@gnu.org>
parents:
14103
diff
changeset
|
79 # 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
|
80 # 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
|
81 # 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
|
82 # 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
|
83 |
10686 | 84 ../info/info: ${INFOSOURCES} |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
85 cd $(srcdir); $(MAKEINFO) --no-split info.texi |
10686 | 86 |
87 info.dvi: ${INFOSOURCES} | |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
88 $(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi |
10686 | 89 |
90 ../info/emacs: ${EMACSSOURCES} | |
15468
641d6a7398ff
(All info targets): cd $(srcdir) to do the work.
Richard M. Stallman <rms@gnu.org>
parents:
15467
diff
changeset
|
91 cd $(srcdir); $(MAKEINFO) emacs.texi |
10686 | 92 |
93 emacs.dvi: ${EMACSSOURCES} | |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
94 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs.texi |
10686 | 95 |
14103
b6ec260d7c2c
(../info/ccmode): Renamed from ../info/cc-mode.
Karl Heuer <kwzh@gnu.org>
parents:
13666
diff
changeset
|
96 ../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
|
97 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
|
98 cc-mode.dvi: cc-mode.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
99 $(ENVADD) $(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
|
100 |
25914
5b157f24c1e8
(INFO_TARGETS, DVI_TARGETS): Add ada-mode.
Gerd Moellmann <gerd@gnu.org>
parents:
25477
diff
changeset
|
101 ../info/ada-mode: ada-mode.texi |
5b157f24c1e8
(INFO_TARGETS, DVI_TARGETS): Add ada-mode.
Gerd Moellmann <gerd@gnu.org>
parents:
25477
diff
changeset
|
102 cd $(srcdir); $(MAKEINFO) ada-mode.texi |
5b157f24c1e8
(INFO_TARGETS, DVI_TARGETS): Add ada-mode.
Gerd Moellmann <gerd@gnu.org>
parents:
25477
diff
changeset
|
103 ada-mode.dvi: ada-mode.texi |
5b157f24c1e8
(INFO_TARGETS, DVI_TARGETS): Add ada-mode.
Gerd Moellmann <gerd@gnu.org>
parents:
25477
diff
changeset
|
104 $(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi |
5b157f24c1e8
(INFO_TARGETS, DVI_TARGETS): Add ada-mode.
Gerd Moellmann <gerd@gnu.org>
parents:
25477
diff
changeset
|
105 |
10686 | 106 ../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
|
107 cd $(srcdir); $(MAKEINFO) cl.texi |
10686 | 108 cl.dvi: cl.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
109 $(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi |
10686 | 110 |
111 ../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
|
112 cd $(srcdir); $(MAKEINFO) dired-x.texi |
10686 | 113 dired-x.dvi: dired-x.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
114 $(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi |
10686 | 115 |
12384
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
116 ../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
|
117 cd $(srcdir); $(MAKEINFO) ediff.texi |
12384
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
118 ediff.dvi: ediff.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
119 $(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi |
12384
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
120 |
10686 | 121 ../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
|
122 cd $(srcdir); $(MAKEINFO) forms.texi |
10686 | 123 forms.dvi: forms.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
124 $(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi |
10686 | 125 |
19968
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
126 ../info/gnus: gnus.texi |
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
127 cd $(srcdir); $(MAKEINFO) gnus.texi |
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
128 gnus.dvi: gnus.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
129 $(ENVADD) $(TEXI2DVI) ${srcdir}/gnus.texi |
19968
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
130 |
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
131 ../info/message: message.texi |
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
132 cd $(srcdir); $(MAKEINFO) message.texi |
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
133 message.dvi: message.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
134 $(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi |
19968
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
135 |
11478
8a5fc4539429
(INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents:
10686
diff
changeset
|
136 ../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
|
137 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
|
138 mh-e.dvi: mh-e.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
139 $(ENVADD) $(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
|
140 |
20863
6ee33d0e1682
(reftex.dvi, ../info/reftex): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
19968
diff
changeset
|
141 ../info/reftex: reftex.texi |
6ee33d0e1682
(reftex.dvi, ../info/reftex): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
19968
diff
changeset
|
142 cd $(srcdir); $(MAKEINFO) reftex.texi |
6ee33d0e1682
(reftex.dvi, ../info/reftex): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
19968
diff
changeset
|
143 reftex.dvi: reftex.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
144 $(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi |
20863
6ee33d0e1682
(reftex.dvi, ../info/reftex): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
19968
diff
changeset
|
145 |
10686 | 146 ../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
|
147 cd $(srcdir); $(MAKEINFO) sc.texi |
10686 | 148 sc.dvi: sc.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
149 $(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi |
10686 | 150 |
151 ../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
|
152 cd $(srcdir); $(MAKEINFO) vip.texi |
10686 | 153 vip.dvi: vip.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
154 $(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi |
10686 | 155 |
19968
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
156 ../info/viper: viper.texi |
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
157 cd $(srcdir); $(MAKEINFO) viper.texi |
88dd57f50303
Merge changes mistakenly made to `Makefile'.
Paul Eggert <eggert@twinsun.com>
parents:
17335
diff
changeset
|
158 viper.dvi: viper.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
159 $(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi |
15525
521a4d5ccea0
Add rules for the Message manual.
Lars Magne Ingebrigtsen <larsi@gnus.org>
parents:
15468
diff
changeset
|
160 |
17335
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
161 ../info/widget: widget.texi |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
162 cd $(srcdir); $(MAKEINFO) widget.texi |
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
163 widget.dvi: widget.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
164 $(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi |
17335
d80b4f8daf6d
Added widget and custom manuals.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
15525
diff
changeset
|
165 |
25996
9e6b179f629d
(faq): use ../info/emacs-faq.info (as specified in the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25914
diff
changeset
|
166 ../info/emacs-faq.info: faq.texi |
25477 | 167 cd $(srcdir); $(MAKEINFO) faq.texi |
168 faq.dvi: faq.texi | |
169 $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi | |
170 | |
10686 | 171 ../etc/GNU: gnu1.texi gnu.texi |
21392
20bc0bd34ada
(ENVADD): Enviroment vars to pass to texi2dvi. Use
Andreas Schwab <schwab@suse.de>
parents:
20863
diff
changeset
|
172 cd $(srcdir) && makeinfo --no-headers -o ../etc/GNU gnu1.texi |
10686 | 173 |
26150 | 174 ../info/autotype: autotype.texi |
175 cd $(srcdir); $(MAKEINFO) autotype.texi | |
176 autotype.dvi: autotype.texi | |
177 $(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi | |
178 | |
10686 | 179 mostlyclean: |
180 rm -f *.log *.cp *.fn *.ky *.pg *.vr core | |
181 | |
182 clean: mostlyclean | |
183 rm -f *.dvi | |
184 | |
185 distclean: clean | |
186 | |
187 maintainer-clean: distclean | |
188 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs | |
189 # Don't delete these, because they are outside the current directory. | |
190 # for file in $(INFO_TARGETS); do rm -f $${file}*; done | |
191 | |
192 | |
193 # Formerly this directory had texindex.c and getopt.c in it | |
194 # and this makefile built them to make texindex. | |
195 # That caused trouble because this is run entirely in the source directory. | |
196 # Since we expect to get texi2dvi from elsewhere, | |
197 # it is ok to expect texindex from elsewhere also. |