Mercurial > emacs
annotate doc/emacs/Makefile.in @ 87911:04d74bde81a8
Add 2008 to copyright years.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 23 Jan 2008 05:49:16 +0000 |
parents | 4d1a7898a1ff |
children | 76cbdd481eaf |
rev | line source |
---|---|
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
1 #### Makefile for the Emacs Manual |
84218 | 2 |
3 # Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, | |
87911 | 4 # 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
84218 | 5 |
6 # This file is part of GNU Emacs. | |
7 | |
8 # GNU Emacs is free software; you can redistribute it and/or modify | |
9 # it under the terms of the GNU General Public License as published by | |
10 # the Free Software Foundation; either version 3, or (at your option) | |
11 # any later version. | |
12 | |
13 # GNU Emacs is distributed in the hope that it will be useful, | |
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 # GNU General Public License for more details. | |
17 | |
18 # You should have received a copy of the GNU General Public License | |
19 # along with GNU Emacs; see the file COPYING. If not, write to | |
20 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
21 # Boston, MA 02110-1301, USA. | |
22 | |
23 # Where to find the source code. $(srcdir) will be the man | |
24 # subdirectory of the source tree. This is | |
25 # set by the configure script's `--srcdir' option. | |
26 srcdir=@srcdir@ | |
27 top_srcdir=@top_srcdir@ | |
28 | |
29 # Tell make where to find source files; this is needed for the makefiles. | |
30 VPATH=@srcdir@ | |
31 | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
32 ## Where the output files go. |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
33 ## Note that the setfilename command in the .texi files assumes this. |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
34 infodir=../../info |
84218 | 35 |
36 # The makeinfo program is part of the Texinfo distribution. | |
37 # Use --force so that it generates output even if there are errors. | |
38 MAKEINFO = makeinfo --force | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
39 |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
40 INFO_TARGETS = $(infodir)/emacs |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
41 DVI_TARGETS = emacs.dvi |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
42 |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
43 |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
44 TEXI2DVI = texi2dvi |
84218 | 45 |
46 # The following rule does not work with all versions of `make'. | |
47 .SUFFIXES: .texi .dvi | |
48 .texi.dvi: | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
49 $(TEXI2DVI) $< |
84218 | 50 |
51 ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)" | |
52 | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
53 |
84218 | 54 EMACS_XTRA=\ |
55 $(srcdir)/arevert-xtra.texi \ | |
56 $(srcdir)/cal-xtra.texi \ | |
57 $(srcdir)/dired-xtra.texi \ | |
58 $(srcdir)/picture-xtra.texi \ | |
59 $(srcdir)/emerge-xtra.texi \ | |
60 $(srcdir)/vc-xtra.texi \ | |
61 $(srcdir)/vc1-xtra.texi \ | |
62 $(srcdir)/vc2-xtra.texi \ | |
63 $(srcdir)/fortran-xtra.texi \ | |
64 $(srcdir)/msdog-xtra.texi | |
65 | |
66 EMACSSOURCES= \ | |
67 ${srcdir}/emacs.texi \ | |
68 ${srcdir}/doclicense.texi \ | |
69 ${srcdir}/gpl.texi \ | |
70 ${srcdir}/screen.texi \ | |
71 ${srcdir}/commands.texi \ | |
72 ${srcdir}/entering.texi \ | |
73 ${srcdir}/basic.texi \ | |
74 ${srcdir}/mini.texi \ | |
75 ${srcdir}/m-x.texi \ | |
76 ${srcdir}/help.texi \ | |
77 ${srcdir}/mark.texi \ | |
78 ${srcdir}/killing.texi \ | |
79 ${srcdir}/regs.texi \ | |
80 ${srcdir}/display.texi \ | |
81 ${srcdir}/search.texi \ | |
82 ${srcdir}/fixit.texi \ | |
83 ${srcdir}/files.texi \ | |
84 ${srcdir}/buffers.texi \ | |
85 ${srcdir}/windows.texi \ | |
86 ${srcdir}/frames.texi \ | |
87 ${srcdir}/mule.texi \ | |
88 ${srcdir}/major.texi \ | |
89 ${srcdir}/indent.texi \ | |
90 ${srcdir}/text.texi \ | |
91 ${srcdir}/programs.texi \ | |
92 ${srcdir}/building.texi \ | |
93 ${srcdir}/maintaining.texi \ | |
94 ${srcdir}/abbrevs.texi \ | |
95 ${srcdir}/sending.texi \ | |
96 ${srcdir}/rmail.texi \ | |
97 ${srcdir}/dired.texi \ | |
98 ${srcdir}/calendar.texi \ | |
99 ${srcdir}/misc.texi \ | |
100 ${srcdir}/custom.texi \ | |
101 ${srcdir}/trouble.texi \ | |
102 ${srcdir}/cmdargs.texi \ | |
103 ${srcdir}/xresources.texi \ | |
104 ${srcdir}/anti.texi \ | |
105 ${srcdir}/macos.texi \ | |
106 ${srcdir}/msdog.texi \ | |
107 ${srcdir}/gnu.texi \ | |
108 ${srcdir}/glossary.texi \ | |
109 ${srcdir}/ack.texi \ | |
110 ${srcdir}/kmacro.texi \ | |
111 $(EMACS_XTRA) | |
112 | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
113 info: $(infodir) $(INFO_TARGETS) |
84218 | 114 |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
115 $(infodir): |
84218 | 116 mkdir $@ |
117 | |
118 dvi: $(DVI_TARGETS) | |
119 | |
120 # Note that all the Info targets build the Info files | |
121 # in srcdir. There is no provision for Info files | |
122 # to exist in the build directory. | |
123 # In a distribution of Emacs, the Info files should be up to date. | |
124 | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
125 emacs : $(infodir)/emacs |
84218 | 126 |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
127 $(infodir)/emacs: ${EMACSSOURCES} |
84218 | 128 cd $(srcdir); $(MAKEINFO) emacs.texi |
129 | |
130 emacs.dvi: ${EMACSSOURCES} | |
131 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs.texi | |
132 | |
133 | |
134 emacs-xtra.dvi: emacs-xtra.texi $(EMACS_XTRA) | |
135 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-xtra.texi | |
136 | |
137 | |
138 mostlyclean: | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
139 rm -f *.log *.cp *.fn *.ky *.op *.ops *.pg *.vr core *.tp *.core |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
140 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc |
84218 | 141 |
142 clean: mostlyclean | |
143 rm -f *.dvi | |
144 | |
145 distclean: clean | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
146 # rm -f Makefile |
84218 | 147 |
148 maintainer-clean: distclean | |
149 for file in $(INFO_TARGETS); do rm -f $${file}*; done | |
150 | |
151 | |
152 # Formerly this directory had texindex.c and getopt.c in it | |
153 # and this makefile built them to make texindex. | |
154 # That caused trouble because this is run entirely in the source directory. | |
155 # Since we expect to get texi2dvi from elsewhere, | |
156 # it is ok to expect texindex from elsewhere also. | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
157 |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
158 |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
159 ### Makefile ends here |