annotate man/Makefile.in @ 11647:290970a12db9

(outline-minor-mode-prefix): Change to C-c @.
author Richard M. Stallman <rms@gnu.org>
date Tue, 02 May 1995 01:50:32 +0000
parents b804f7df771d
children 13dd2463be12
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10686
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #### Makefile for the Emacs Manual and other documentation.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 # Where to find the source code. The source code for Emacs's C kernel is
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 # expected to be in ${srcdir}/src, and the source code for Emacs's
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 # utility programs is expected to be in ${srcdir}/lib-src. This is
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 # set by the configure script's `--srcdir' option.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 srcdir=@srcdir@
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 # Tell make where to find source files; this is needed for the makefiles.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 VPATH=@srcdir@
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 # The makeinfo program is part of the Texinfo distribution.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 MAKEINFO = makeinfo
11511
b804f7df771d (INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents: 11478
diff changeset
15 INFO_TARGETS = ../info/emacs ../info/cl ../info/dired-x ../info/forms \
b804f7df771d (INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents: 11478
diff changeset
16 ../info/gnus ../info/info \
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
b804f7df771d (INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents: 11478
diff changeset
18 DVI_TARGETS = emacs.dvi cl.dvi dired-x.dvi forms.dvi gnus.dvi \
b804f7df771d (INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents: 11478
diff changeset
19 mh-e.dvi sc.dvi vip.dvi viper.dvi
10686
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 INFOSOURCES = info.texi info-stnd.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 # The following rule does not work with all versions of `make'.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 .SUFFIXES: .texi .dvi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 .texi.dvi:
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 texi2dvi $<
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 TEXI2DVI = texi2dvi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 EMACSSOURCES= \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 ${srcdir}/emacs.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 ${srcdir}/screen.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 ${srcdir}/commands.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 ${srcdir}/entering.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 ${srcdir}/basic.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 ${srcdir}/mini.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 ${srcdir}/m-x.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 ${srcdir}/help.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 ${srcdir}/mark.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 ${srcdir}/killing.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 ${srcdir}/regs.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 ${srcdir}/display.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 ${srcdir}/search.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 ${srcdir}/fixit.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 ${srcdir}/files.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 ${srcdir}/buffers.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 ${srcdir}/windows.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 ${srcdir}/frames.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 ${srcdir}/major.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 ${srcdir}/indent.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 ${srcdir}/text.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 ${srcdir}/programs.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 ${srcdir}/building.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 ${srcdir}/abbrevs.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 ${srcdir}/picture.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 ${srcdir}/sending.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 ${srcdir}/rmail.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 ${srcdir}/dired.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 ${srcdir}/calendar.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 ${srcdir}/misc.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 ${srcdir}/custom.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 ${srcdir}/trouble.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 ${srcdir}/cmdargs.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 ${srcdir}/anti.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 ${srcdir}/gnu.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 ${srcdir}/gnu1.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 ${srcdir}/glossary.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 info: $(INFO_TARGETS)
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 dvi: $(DVI_TARGETS)
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 ../info/info: ${INFOSOURCES}
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 $(MAKEINFO) --no-split info.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 info.dvi: ${INFOSOURCES}
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 $(TEXI2DVI) ${srcdir}/info.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 ../info/emacs: ${EMACSSOURCES}
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 $(MAKEINFO) emacs.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 emacs.dvi: ${EMACSSOURCES}
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 $(TEXI2DVI) ${srcdir}/emacs.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 ../info/cl: cl.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85 $(MAKEINFO) cl.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 cl.dvi: cl.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 $(TEXI2DVI) ${srcdir}/cl.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 ../info/dired-x: dired-x.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 $(MAKEINFO) dired-x.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 dired-x.dvi: dired-x.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 $(TEXI2DVI) ${srcdir}/dired-x.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 ../info/forms: forms.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 $(MAKEINFO) forms.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 forms.dvi: forms.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 $(TEXI2DVI) ${srcdir}/forms.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98
11478
8a5fc4539429 (INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents: 10686
diff changeset
99 ../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
100 $(MAKEINFO) mh-e.texi
8a5fc4539429 (INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents: 10686
diff changeset
101 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
102 $(TEXI2DVI) ${srcdir}/mh-e.texi
8a5fc4539429 (INFO_TARGETS, DVI_TARGETS): Add mh-e targets.
Richard M. Stallman <rms@gnu.org>
parents: 10686
diff changeset
103
10686
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 ../info/sc: sc.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 $(MAKEINFO) sc.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 sc.dvi: sc.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107 $(TEXI2DVI) ${srcdir}/sc.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 ../info/vip: vip.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 $(MAKEINFO) vip.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 vip.dvi: vip.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 $(TEXI2DVI) ${srcdir}/vip.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114 ../info/gnus: gnus.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 $(MAKEINFO) gnus.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 gnus.dvi: gnus.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 $(TEXI2DVI) ${srcdir}/gnus.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119 ../etc/GNU: gnu1.texi gnu.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 makeinfo --no-headers -o ../etc/GNU gnu1.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121
11511
b804f7df771d (INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents: 11478
diff changeset
122 ../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
123 $(MAKEINFO) viper.texi
b804f7df771d (INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents: 11478
diff changeset
124 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
125 $(TEXI2DVI) ${srcdir}/viper.texi
b804f7df771d (INFO_TARGETS, DVI_TARGETS): Add viper targets.
Richard M. Stallman <rms@gnu.org>
parents: 11478
diff changeset
126
10686
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127 mostlyclean:
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128 rm -f *.log *.cp *.fn *.ky *.pg *.vr core
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130 clean: mostlyclean
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 rm -f *.dvi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133 distclean: clean
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 maintainer-clean: distclean
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137 # Don't delete these, because they are outside the current directory.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 # for file in $(INFO_TARGETS); do rm -f $${file}*; done
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141 # Formerly this directory had texindex.c and getopt.c in it
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142 # and this makefile built them to make texindex.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 # That caused trouble because this is run entirely in the source directory.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 # Since we expect to get texi2dvi from elsewhere,
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145 # it is ok to expect texindex from elsewhere also.