Comment change.
[bpt/emacs.git] / man / Makefile.in
CommitLineData
3ff8ce93
RS
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.
7srcdir=@srcdir@
8
9# Tell make where to find source files; this is needed for the makefiles.
10VPATH=@srcdir@
11
12
13# The makeinfo program is part of the Texinfo distribution.
14MAKEINFO = makeinfo
15INFO_TARGETS = ../info/emacs ../info/cl ../info/forms ../info/vip \
16 ../info/gnus ../info/sc ../info/info ../info/dired-x
17DVI_TARGETS = emacs.dvi cl.dvi forms.dvi vip.dvi gnus.dvi sc.dvi dired-x.dvi
18INFOSOURCES = info.texi info-stnd.texi
19
20# The following rule does not work with all versions of `make'.
21.SUFFIXES: .texi .dvi
22.texi.dvi:
23 texi2dvi $<
24
25TEXI2DVI = texi2dvi
26
27EMACSSOURCES= \
28 ${srcdir}/emacs.texi \
29 ${srcdir}/screen.texi \
30 ${srcdir}/commands.texi \
31 ${srcdir}/entering.texi \
32 ${srcdir}/basic.texi \
33 ${srcdir}/mini.texi \
34 ${srcdir}/m-x.texi \
35 ${srcdir}/help.texi \
36 ${srcdir}/mark.texi \
37 ${srcdir}/killing.texi \
38 ${srcdir}/regs.texi \
39 ${srcdir}/display.texi \
40 ${srcdir}/search.texi \
41 ${srcdir}/fixit.texi \
42 ${srcdir}/files.texi \
43 ${srcdir}/buffers.texi \
44 ${srcdir}/windows.texi \
45 ${srcdir}/frames.texi \
46 ${srcdir}/major.texi \
47 ${srcdir}/indent.texi \
48 ${srcdir}/text.texi \
49 ${srcdir}/programs.texi \
50 ${srcdir}/building.texi \
51 ${srcdir}/abbrevs.texi \
52 ${srcdir}/picture.texi \
53 ${srcdir}/sending.texi \
54 ${srcdir}/rmail.texi \
55 ${srcdir}/dired.texi \
56 ${srcdir}/calendar.texi \
57 ${srcdir}/misc.texi \
58 ${srcdir}/custom.texi \
59 ${srcdir}/trouble.texi \
60 ${srcdir}/cmdargs.texi \
61 ${srcdir}/anti.texi \
62 ${srcdir}/gnu.texi \
63 ${srcdir}/gnu1.texi \
64 ${srcdir}/glossary.texi
65
66info: $(INFO_TARGETS)
67
68dvi: $(DVI_TARGETS)
69
70../info/info: ${INFOSOURCES}
71 $(MAKEINFO) --no-split info.texi
72
73info.dvi: ${INFOSOURCES}
74 $(TEXI2DVI) ${srcdir}/info.texi
75
76../info/emacs: ${EMACSSOURCES}
77 $(MAKEINFO) emacs.texi
78
79emacs.dvi: ${EMACSSOURCES}
80 $(TEXI2DVI) ${srcdir}/emacs.texi
81
82../info/cl: cl.texi
83 $(MAKEINFO) cl.texi
84cl.dvi: cl.texi
85 $(TEXI2DVI) ${srcdir}/cl.texi
86
87../info/dired-x: dired-x.texi
88 $(MAKEINFO) dired-x.texi
89dired-x.dvi: dired-x.texi
90 $(TEXI2DVI) ${srcdir}/dired-x.texi
91
92../info/forms: forms.texi
93 $(MAKEINFO) forms.texi
94forms.dvi: forms.texi
95 $(TEXI2DVI) ${srcdir}/forms.texi
96
97../info/sc: sc.texi
98 $(MAKEINFO) sc.texi
99sc.dvi: sc.texi
100 $(TEXI2DVI) ${srcdir}/sc.texi
101
102../info/vip: vip.texi
103 $(MAKEINFO) vip.texi
104vip.dvi: vip.texi
105 $(TEXI2DVI) ${srcdir}/vip.texi
106
107../info/gnus: gnus.texi
108 $(MAKEINFO) gnus.texi
109gnus.dvi: gnus.texi
110 $(TEXI2DVI) ${srcdir}/gnus.texi
111
112../etc/GNU: gnu1.texi gnu.texi
113 makeinfo --no-headers -o ../etc/GNU gnu1.texi
114
115mostlyclean:
116 rm -f *.log *.cp *.fn *.ky *.pg *.vr core
117
118clean: mostlyclean
119 rm -f *.dvi
120
121distclean: clean
122
123maintainer-clean: distclean
124 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs
125# Don't delete these, because they are outside the current directory.
126# for file in $(INFO_TARGETS); do rm -f $${file}*; done
127
128
129# Formerly this directory had texindex.c and getopt.c in it
130# and this makefile built them to make texindex.
131# That caused trouble because this is run entirely in the source directory.
132# Since we expect to get texi2dvi from elsewhere,
133# it is ok to expect texindex from elsewhere also.