(browse-url): Re-fix case of
[emacs.git] / man / Makefile.in
blob21e3ed7d3a85bdef39ecff5b074ccd8db6890f87
1 #### Makefile for the Emacs Manual and other documentation.
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@
9 # Tell make where to find source files; this is needed for the makefiles.
10 VPATH=@srcdir@
13 # The makeinfo program is part of the Texinfo distribution.
14 MAKEINFO = makeinfo
15 INFO_TARGETS = ../info/emacs ../info/ccmode ../info/cl \
16 ../info/dired-x ../info/ediff ../info/forms ../info/gnus \
17 ../info/info ../info/message ../info/mh-e ../info/reftex \
18 ../info/sc ../info/vip ../info/viper ../info/widget \
19 ../info/efaq ../info/ada-mode ../info/autotype \
20 ../info/idlwave ../info/eudc
21 DVI_TARGETS = emacs.dvi cc-mode.dvi cl.dvi dired-x.dvi \
22 ediff.dvi forms.dvi gnus.dvi message.dvi mh-e.dvi \
23 reftex.dvi sc.dvi vip.dvi viper.dvi widget.dvi faq.dvi \
24 ada-mode.dvi autotype.dvi idlwave.dvi eudc.dvi
25 INFOSOURCES = info.texi info-stnd.texi
27 # The following rule does not work with all versions of `make'.
28 .SUFFIXES: .texi .dvi
29 .texi.dvi:
30 texi2dvi $<
32 TEXI2DVI = texi2dvi
33 ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)"
35 EMACSSOURCES= \
36 ${srcdir}/emacs.texi \
37 ${srcdir}/screen.texi \
38 ${srcdir}/commands.texi \
39 ${srcdir}/entering.texi \
40 ${srcdir}/basic.texi \
41 ${srcdir}/mini.texi \
42 ${srcdir}/m-x.texi \
43 ${srcdir}/help.texi \
44 ${srcdir}/mark.texi \
45 ${srcdir}/killing.texi \
46 ${srcdir}/regs.texi \
47 ${srcdir}/display.texi \
48 ${srcdir}/search.texi \
49 ${srcdir}/fixit.texi \
50 ${srcdir}/files.texi \
51 ${srcdir}/buffers.texi \
52 ${srcdir}/windows.texi \
53 ${srcdir}/frames.texi \
54 ${srcdir}/mule.texi \
55 ${srcdir}/major.texi \
56 ${srcdir}/indent.texi \
57 ${srcdir}/text.texi \
58 ${srcdir}/programs.texi \
59 ${srcdir}/building.texi \
60 ${srcdir}/abbrevs.texi \
61 ${srcdir}/picture.texi \
62 ${srcdir}/sending.texi \
63 ${srcdir}/rmail.texi \
64 ${srcdir}/dired.texi \
65 ${srcdir}/calendar.texi \
66 ${srcdir}/misc.texi \
67 ${srcdir}/custom.texi \
68 ${srcdir}/trouble.texi \
69 ${srcdir}/cmdargs.texi \
70 ${srcdir}/anti.texi \
71 ${srcdir}/msdog.texi \
72 ${srcdir}/gnu.texi \
73 ${srcdir}/glossary.texi \
74 ${srcdir}/ack.texi
76 info: $(INFO_TARGETS)
78 dvi: $(DVI_TARGETS)
80 # Note that all the Info targets build the Info files
81 # in srcdir. There is no provision for Info files
82 # to exist in the build directory.
83 # In a distribution of Emacs, the Info files should be up to date.
85 ../info/info: ${INFOSOURCES}
86 cd $(srcdir); $(MAKEINFO) --no-split info.texi
88 info.dvi: ${INFOSOURCES}
89 $(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
91 ../info/emacs: ${EMACSSOURCES}
92 cd $(srcdir); $(MAKEINFO) emacs.texi
94 emacs.dvi: ${EMACSSOURCES}
95 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs.texi
97 ../info/ccmode: cc-mode.texi
98 cd $(srcdir); $(MAKEINFO) cc-mode.texi
99 cc-mode.dvi: cc-mode.texi
100 $(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi
102 ../info/ada-mode: ada-mode.texi
103 cd $(srcdir); $(MAKEINFO) ada-mode.texi
104 ada-mode.dvi: ada-mode.texi
105 $(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
107 ../info/cl: cl.texi
108 cd $(srcdir); $(MAKEINFO) cl.texi
109 cl.dvi: cl.texi
110 $(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi
112 ../info/dired-x: dired-x.texi
113 cd $(srcdir); $(MAKEINFO) dired-x.texi
114 dired-x.dvi: dired-x.texi
115 $(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi
117 ../info/ediff: ediff.texi
118 cd $(srcdir); $(MAKEINFO) ediff.texi
119 ediff.dvi: ediff.texi
120 $(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
122 ../info/forms: forms.texi
123 cd $(srcdir); $(MAKEINFO) forms.texi
124 forms.dvi: forms.texi
125 $(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
127 ../info/gnus: gnus.texi
128 cd $(srcdir); $(MAKEINFO) gnus.texi
129 gnus.dvi: gnus.texi
130 $(ENVADD) $(TEXI2DVI) ${srcdir}/gnus.texi
132 ../info/message: message.texi
133 cd $(srcdir); $(MAKEINFO) message.texi
134 message.dvi: message.texi
135 $(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
137 ../info/mh-e: mh-e.texi
138 cd $(srcdir); $(MAKEINFO) mh-e.texi
139 mh-e.dvi: mh-e.texi
140 $(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
142 ../info/reftex: reftex.texi
143 cd $(srcdir); $(MAKEINFO) reftex.texi
144 reftex.dvi: reftex.texi
145 $(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
147 ../info/sc: sc.texi
148 cd $(srcdir); $(MAKEINFO) sc.texi
149 sc.dvi: sc.texi
150 $(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
152 ../info/vip: vip.texi
153 cd $(srcdir); $(MAKEINFO) vip.texi
154 vip.dvi: vip.texi
155 $(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi
157 ../info/viper: viper.texi
158 cd $(srcdir); $(MAKEINFO) viper.texi
159 viper.dvi: viper.texi
160 $(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi
162 ../info/widget: widget.texi
163 cd $(srcdir); $(MAKEINFO) widget.texi
164 widget.dvi: widget.texi
165 $(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi
167 ../info/efaq: faq.texi
168 cd $(srcdir); $(MAKEINFO) faq.texi
169 faq.dvi: faq.texi
170 $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
172 ../etc/GNU: gnu1.texi gnu.texi
173 cd $(srcdir) && makeinfo --no-headers -o ../etc/GNU gnu1.texi
175 ../info/autotype: autotype.texi
176 cd $(srcdir); $(MAKEINFO) autotype.texi
177 autotype.dvi: autotype.texi
178 $(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
180 ../info/idlwave: idlwave.texi
181 cd $(srcdir); $(MAKEINFO) idlwave.texi
182 idlwave.dvi: idlwave.texi
183 $(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
185 ../info/eudc: eudc.texi
186 cd $(srcdir); $(MAKEINFO) eudc.texi
187 eudc.dvi: eudc.texi
188 $(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
190 mostlyclean:
191 rm -f *.log *.cp *.fn *.ky *.pg *.vr core
193 clean: mostlyclean
194 rm -f *.dvi
196 distclean: clean
198 maintainer-clean: distclean
199 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs
200 # Don't delete these, because they are outside the current directory.
201 # for file in $(INFO_TARGETS); do rm -f $${file}*; done
204 # Formerly this directory had texindex.c and getopt.c in it
205 # and this makefile built them to make texindex.
206 # That caused trouble because this is run entirely in the source directory.
207 # Since we expect to get texi2dvi from elsewhere,
208 # it is ok to expect texindex from elsewhere also.