annotate man/Makefile.in @ 11060:0a7048d331e6

(x_decode_color): Don't use cdef if defined_color failed.
author Richard M. Stallman <rms@gnu.org>
date Sat, 18 Mar 1995 18:05:28 +0000
parents 535aea7d22a3
children 8a5fc4539429
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
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 INFO_TARGETS = ../info/emacs ../info/cl ../info/forms ../info/vip \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 ../info/gnus ../info/sc ../info/info ../info/dired-x
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 DVI_TARGETS = emacs.dvi cl.dvi forms.dvi vip.dvi gnus.dvi sc.dvi dired-x.dvi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 INFOSOURCES = info.texi info-stnd.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 # The following rule does not work with all versions of `make'.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 .SUFFIXES: .texi .dvi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 .texi.dvi:
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 texi2dvi $<
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 TEXI2DVI = 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 EMACSSOURCES= \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 ${srcdir}/emacs.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 ${srcdir}/screen.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 ${srcdir}/commands.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 ${srcdir}/entering.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 ${srcdir}/basic.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 ${srcdir}/mini.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 ${srcdir}/m-x.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 ${srcdir}/help.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 ${srcdir}/mark.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 ${srcdir}/killing.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 ${srcdir}/regs.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 ${srcdir}/display.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 ${srcdir}/search.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 ${srcdir}/fixit.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 ${srcdir}/files.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 ${srcdir}/buffers.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 ${srcdir}/windows.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 ${srcdir}/frames.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 ${srcdir}/major.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 ${srcdir}/indent.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 ${srcdir}/text.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 ${srcdir}/programs.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 ${srcdir}/building.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 ${srcdir}/abbrevs.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 ${srcdir}/picture.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 ${srcdir}/sending.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 ${srcdir}/rmail.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 ${srcdir}/dired.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 ${srcdir}/calendar.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 ${srcdir}/misc.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 ${srcdir}/custom.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 ${srcdir}/trouble.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 ${srcdir}/cmdargs.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 ${srcdir}/anti.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 ${srcdir}/gnu.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 ${srcdir}/gnu1.texi \
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 ${srcdir}/glossary.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 info: $(INFO_TARGETS)
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 dvi: $(DVI_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 ../info/info: ${INFOSOURCES}
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 $(MAKEINFO) --no-split info.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 info.dvi: ${INFOSOURCES}
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 $(TEXI2DVI) ${srcdir}/info.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 ../info/emacs: ${EMACSSOURCES}
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 $(MAKEINFO) emacs.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 emacs.dvi: ${EMACSSOURCES}
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 $(TEXI2DVI) ${srcdir}/emacs.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 ../info/cl: cl.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 $(MAKEINFO) cl.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 cl.dvi: cl.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85 $(TEXI2DVI) ${srcdir}/cl.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 ../info/dired-x: dired-x.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 $(MAKEINFO) dired-x.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 dired-x.dvi: dired-x.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 $(TEXI2DVI) ${srcdir}/dired-x.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 ../info/forms: forms.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 $(MAKEINFO) forms.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 forms.dvi: forms.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 $(TEXI2DVI) ${srcdir}/forms.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 ../info/sc: sc.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 $(MAKEINFO) sc.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 sc.dvi: sc.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 $(TEXI2DVI) ${srcdir}/sc.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 ../info/vip: vip.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 $(MAKEINFO) vip.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 vip.dvi: vip.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 $(TEXI2DVI) ${srcdir}/vip.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107 ../info/gnus: gnus.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108 $(MAKEINFO) gnus.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 gnus.dvi: gnus.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 $(TEXI2DVI) ${srcdir}/gnus.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 ../etc/GNU: gnu1.texi gnu.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 makeinfo --no-headers -o ../etc/GNU gnu1.texi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 mostlyclean:
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 rm -f *.log *.cp *.fn *.ky *.pg *.vr core
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 clean: mostlyclean
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
119 rm -f *.dvi
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 distclean: clean
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 maintainer-clean: distclean
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 # Don't delete these, because they are outside the current directory.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 # for file in $(INFO_TARGETS); do rm -f $${file}*; done
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 # Formerly this directory had texindex.c and getopt.c in it
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130 # and this makefile built them to make texindex.
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 # 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
132 # Since we expect to get texi2dvi from elsewhere,
535aea7d22a3 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133 # it is ok to expect texindex from elsewhere also.