Mercurial > emacs
annotate man/Makefile.in @ 15425:482b164fe732
Initial revision
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 13 Jun 1996 04:38:21 +0000 |
parents | b6ec260d7c2c |
children | 5211a1402647 |
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 \ |
11511
b804f7df771d
(INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents:
11478
diff
changeset
|
17 ../info/mh-e ../info/sc ../info/vip ../info/viper |
13666
e97eebb1206d
(../info/cc-mode, cc-mode.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
12384
diff
changeset
|
18 DVI_TARGETS = emacs.dvi cc-mode.dvi cl.dvi dired-x.dvi ediff.dvi forms.dvi \ |
e97eebb1206d
(../info/cc-mode, cc-mode.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
12384
diff
changeset
|
19 gnus.dvi mh-e.dvi sc.dvi vip.dvi viper.dvi |
10686 | 20 INFOSOURCES = info.texi info-stnd.texi |
21 | |
22 # The following rule does not work with all versions of `make'. | |
23 .SUFFIXES: .texi .dvi | |
24 .texi.dvi: | |
25 texi2dvi $< | |
26 | |
27 TEXI2DVI = texi2dvi | |
28 | |
29 EMACSSOURCES= \ | |
30 ${srcdir}/emacs.texi \ | |
31 ${srcdir}/screen.texi \ | |
32 ${srcdir}/commands.texi \ | |
33 ${srcdir}/entering.texi \ | |
34 ${srcdir}/basic.texi \ | |
35 ${srcdir}/mini.texi \ | |
36 ${srcdir}/m-x.texi \ | |
37 ${srcdir}/help.texi \ | |
38 ${srcdir}/mark.texi \ | |
39 ${srcdir}/killing.texi \ | |
40 ${srcdir}/regs.texi \ | |
41 ${srcdir}/display.texi \ | |
42 ${srcdir}/search.texi \ | |
43 ${srcdir}/fixit.texi \ | |
44 ${srcdir}/files.texi \ | |
45 ${srcdir}/buffers.texi \ | |
46 ${srcdir}/windows.texi \ | |
47 ${srcdir}/frames.texi \ | |
48 ${srcdir}/major.texi \ | |
49 ${srcdir}/indent.texi \ | |
50 ${srcdir}/text.texi \ | |
51 ${srcdir}/programs.texi \ | |
52 ${srcdir}/building.texi \ | |
53 ${srcdir}/abbrevs.texi \ | |
54 ${srcdir}/picture.texi \ | |
55 ${srcdir}/sending.texi \ | |
56 ${srcdir}/rmail.texi \ | |
57 ${srcdir}/dired.texi \ | |
58 ${srcdir}/calendar.texi \ | |
59 ${srcdir}/misc.texi \ | |
60 ${srcdir}/custom.texi \ | |
61 ${srcdir}/trouble.texi \ | |
62 ${srcdir}/cmdargs.texi \ | |
63 ${srcdir}/anti.texi \ | |
64 ${srcdir}/gnu.texi \ | |
65 ${srcdir}/gnu1.texi \ | |
66 ${srcdir}/glossary.texi | |
67 | |
68 info: $(INFO_TARGETS) | |
69 | |
70 dvi: $(DVI_TARGETS) | |
71 | |
72 ../info/info: ${INFOSOURCES} | |
73 $(MAKEINFO) --no-split info.texi | |
74 | |
75 info.dvi: ${INFOSOURCES} | |
76 $(TEXI2DVI) ${srcdir}/info.texi | |
77 | |
78 ../info/emacs: ${EMACSSOURCES} | |
79 $(MAKEINFO) emacs.texi | |
80 | |
81 emacs.dvi: ${EMACSSOURCES} | |
82 $(TEXI2DVI) ${srcdir}/emacs.texi | |
83 | |
14103
b6ec260d7c2c
(../info/ccmode): Renamed from ../info/cc-mode.
Karl Heuer <kwzh@gnu.org>
parents:
13666
diff
changeset
|
84 ../info/ccmode: cc-mode.texi |
13666
e97eebb1206d
(../info/cc-mode, cc-mode.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
12384
diff
changeset
|
85 $(MAKEINFO) cc-mode.texi |
e97eebb1206d
(../info/cc-mode, cc-mode.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
12384
diff
changeset
|
86 cc-mode.dvi: cc-mode.texi |
e97eebb1206d
(../info/cc-mode, cc-mode.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
12384
diff
changeset
|
87 $(TEXI2DVI) ${srcdir}/cc-mode.texi |
e97eebb1206d
(../info/cc-mode, cc-mode.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
12384
diff
changeset
|
88 |
10686 | 89 ../info/cl: cl.texi |
90 $(MAKEINFO) cl.texi | |
91 cl.dvi: cl.texi | |
92 $(TEXI2DVI) ${srcdir}/cl.texi | |
93 | |
94 ../info/dired-x: dired-x.texi | |
95 $(MAKEINFO) dired-x.texi | |
96 dired-x.dvi: dired-x.texi | |
97 $(TEXI2DVI) ${srcdir}/dired-x.texi | |
98 | |
12384
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
99 ../info/ediff: ediff.texi |
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
100 $(MAKEINFO) ediff.texi |
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
101 ediff.dvi: ediff.texi |
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
102 $(TEXI2DVI) ${srcdir}/ediff.texi |
13dd2463be12
(../info/ediff, ediff.dvi): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
11511
diff
changeset
|
103 |
10686 | 104 ../info/forms: forms.texi |
105 $(MAKEINFO) forms.texi | |
106 forms.dvi: forms.texi | |
107 $(TEXI2DVI) ${srcdir}/forms.texi | |
108 | |
11478
8a5fc4539429
(INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents:
10686
diff
changeset
|
109 ../info/mh-e: mh-e.texi |
8a5fc4539429
(INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents:
10686
diff
changeset
|
110 $(MAKEINFO) mh-e.texi |
8a5fc4539429
(INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents:
10686
diff
changeset
|
111 mh-e.dvi: mh-e.texi |
8a5fc4539429
(INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents:
10686
diff
changeset
|
112 $(TEXI2DVI) ${srcdir}/mh-e.texi |
8a5fc4539429
(INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents:
10686
diff
changeset
|
113 |
10686 | 114 ../info/sc: sc.texi |
115 $(MAKEINFO) sc.texi | |
116 sc.dvi: sc.texi | |
117 $(TEXI2DVI) ${srcdir}/sc.texi | |
118 | |
119 ../info/vip: vip.texi | |
120 $(MAKEINFO) vip.texi | |
121 vip.dvi: vip.texi | |
122 $(TEXI2DVI) ${srcdir}/vip.texi | |
123 | |
124 ../info/gnus: gnus.texi | |
125 $(MAKEINFO) gnus.texi | |
126 gnus.dvi: gnus.texi | |
127 $(TEXI2DVI) ${srcdir}/gnus.texi | |
128 | |
129 ../etc/GNU: gnu1.texi gnu.texi | |
130 makeinfo --no-headers -o ../etc/GNU gnu1.texi | |
131 | |
11511
b804f7df771d
(INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents:
11478
diff
changeset
|
132 ../info/viper: viper.texi viper-cmd.texi |
b804f7df771d
(INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents:
11478
diff
changeset
|
133 $(MAKEINFO) viper.texi |
b804f7df771d
(INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents:
11478
diff
changeset
|
134 viper.dvi: viper.texi viper-cmd.texi |
b804f7df771d
(INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents:
11478
diff
changeset
|
135 $(TEXI2DVI) ${srcdir}/viper.texi |
b804f7df771d
(INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents:
11478
diff
changeset
|
136 |
10686 | 137 mostlyclean: |
138 rm -f *.log *.cp *.fn *.ky *.pg *.vr core | |
139 | |
140 clean: mostlyclean | |
141 rm -f *.dvi | |
142 | |
143 distclean: clean | |
144 | |
145 maintainer-clean: distclean | |
146 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs | |
147 # Don't delete these, because they are outside the current directory. | |
148 # for file in $(INFO_TARGETS); do rm -f $${file}*; done | |
149 | |
150 | |
151 # Formerly this directory had texindex.c and getopt.c in it | |
152 # and this makefile built them to make texindex. | |
153 # That caused trouble because this is run entirely in the source directory. | |
154 # Since we expect to get texi2dvi from elsewhere, | |
155 # it is ok to expect texindex from elsewhere also. |