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