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.
9 # Tell make where to find source files; this is needed for the makefiles.
13 # The makeinfo program is part of the Texinfo distribution.
15 INFO_TARGETS
= ..
/info/emacs ..
/info/cl ..
/info/forms ..
/info/vip \
16 ..
/info/gnus ..
/info/sc ..
/info/info ..
/info/dired-x
17 DVI_TARGETS
= emacs.
dvi cl.
dvi forms.
dvi vip.
dvi gnus.
dvi sc.
dvi dired-x.
dvi
18 INFOSOURCES
= info.texi info-stnd.texi
20 # The following rule does not work with all versions of `make'.
28 ${srcdir}/emacs.texi \
29 ${srcdir}/screen.texi \
30 ${srcdir}/commands.texi \
31 ${srcdir}/entering.texi \
32 ${srcdir}/basic.texi \
37 ${srcdir}/killing.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 \
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 \
58 ${srcdir}/custom.texi \
59 ${srcdir}/trouble.texi \
60 ${srcdir}/cmdargs.texi \
64 ${srcdir}/glossary.texi
70 ..
/info/info: ${INFOSOURCES}
71 $(MAKEINFO
) --no-split
info.texi
73 info.
dvi: ${INFOSOURCES}
74 $(TEXI2DVI
) ${srcdir}/info.texi
76 ..
/info/emacs
: ${EMACSSOURCES}
77 $(MAKEINFO
) emacs.texi
79 emacs.
dvi: ${EMACSSOURCES}
80 $(TEXI2DVI
) ${srcdir}/emacs.texi
85 $(TEXI2DVI
) ${srcdir}/cl.texi
87 ..
/info/dired-x
: dired-x.texi
88 $(MAKEINFO
) dired-x.texi
89 dired-x.
dvi: dired-x.texi
90 $(TEXI2DVI
) ${srcdir}/dired-x.texi
92 ..
/info/forms
: forms.texi
93 $(MAKEINFO
) forms.texi
95 $(TEXI2DVI
) ${srcdir}/forms.texi
100 $(TEXI2DVI
) ${srcdir}/sc.texi
102 ..
/info/vip
: vip.texi
105 $(TEXI2DVI
) ${srcdir}/vip.texi
107 ..
/info/gnus
: gnus.texi
108 $(MAKEINFO
) gnus.texi
110 $(TEXI2DVI
) ${srcdir}/gnus.texi
112 ..
/etc
/GNU
: gnu1.texi gnu.texi
113 makeinfo --no-headers
-o ..
/etc
/GNU gnu1.texi
116 rm -f
*.log
*.cp
*.fn
*.ky
*.pg
*.vr core
123 maintainer-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
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.