Mercurial > emacs
annotate doc/emacs/Makefile.in @ 110642:35c472420ce6
Remove unused variable top_srcdir from doc Makefiles.
* doc/emacs/Makefile.in (top_srcdir): Remove unused variable.
* doc/misc/Makefile.in (top_srcdir): Remove unused variable.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 28 Sep 2010 21:25:59 -0700 |
parents | 1d1d5d9bd884 |
children | cad6890bb825 |
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, | |
110642
35c472420ce6
Remove unused variable top_srcdir from doc Makefiles.
Glenn Morris <rgm@gnu.org>
parents:
106815
diff
changeset
|
4 # 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
35c472420ce6
Remove unused variable top_srcdir from doc Makefiles.
Glenn Morris <rgm@gnu.org>
parents:
106815
diff
changeset
|
5 # Free Software Foundation, Inc. |
84218 | 6 |
7 # This file is part of GNU Emacs. | |
8 | |
95036
76cbdd481eaf
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87911
diff
changeset
|
9 # GNU Emacs is free software: you can redistribute it and/or modify |
84218 | 10 # it under the terms of the GNU General Public License as published by |
95036
76cbdd481eaf
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87911
diff
changeset
|
11 # the Free Software Foundation, either version 3 of the License, or |
76cbdd481eaf
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87911
diff
changeset
|
12 # (at your option) any later version. |
84218 | 13 |
14 # GNU Emacs is distributed in the hope that it will be useful, | |
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 # GNU General Public License for more details. | |
18 | |
19 # You should have received a copy of the GNU General Public License | |
95036
76cbdd481eaf
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87911
diff
changeset
|
20 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
76cbdd481eaf
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87911
diff
changeset
|
21 |
84218 | 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 | |
28 # Tell make where to find source files; this is needed for the makefiles. | |
29 VPATH=@srcdir@ | |
30 | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
31 ## 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
|
32 ## 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
|
33 infodir=../../info |
103793
68421a518966
(texinfodir): New variable, with location of texinfo.tex.
Glenn Morris <rgm@gnu.org>
parents:
100974
diff
changeset
|
34 # Directory with the (customized) texinfo.tex file. |
68421a518966
(texinfodir): New variable, with location of texinfo.tex.
Glenn Morris <rgm@gnu.org>
parents:
100974
diff
changeset
|
35 texinfodir = $(srcdir)/../misc |
84218 | 36 |
37 # The makeinfo program is part of the Texinfo distribution. | |
38 # Use --force so that it generates output even if there are errors. | |
39 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
|
40 |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
41 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
|
42 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
|
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 |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
45 TEXI2DVI = texi2dvi |
103866 | 46 TEXI2PDF = texi2pdf |
84218 | 47 |
48 # The following rule does not work with all versions of `make'. | |
49 .SUFFIXES: .texi .dvi | |
50 .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
|
51 $(TEXI2DVI) $< |
84218 | 52 |
103793
68421a518966
(texinfodir): New variable, with location of texinfo.tex.
Glenn Morris <rgm@gnu.org>
parents:
100974
diff
changeset
|
53 ENVADD = TEXINPUTS="$(srcdir):$(texinfodir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)" |
84218 | 54 |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
55 |
84218 | 56 EMACS_XTRA=\ |
57 $(srcdir)/arevert-xtra.texi \ | |
58 $(srcdir)/cal-xtra.texi \ | |
59 $(srcdir)/dired-xtra.texi \ | |
60 $(srcdir)/picture-xtra.texi \ | |
61 $(srcdir)/emerge-xtra.texi \ | |
62 $(srcdir)/vc-xtra.texi \ | |
63 $(srcdir)/vc1-xtra.texi \ | |
64 $(srcdir)/fortran-xtra.texi \ | |
65 $(srcdir)/msdog-xtra.texi | |
66 | |
67 EMACSSOURCES= \ | |
68 ${srcdir}/emacs.texi \ | |
69 ${srcdir}/doclicense.texi \ | |
70 ${srcdir}/gpl.texi \ | |
71 ${srcdir}/screen.texi \ | |
72 ${srcdir}/commands.texi \ | |
73 ${srcdir}/entering.texi \ | |
74 ${srcdir}/basic.texi \ | |
75 ${srcdir}/mini.texi \ | |
76 ${srcdir}/m-x.texi \ | |
77 ${srcdir}/help.texi \ | |
78 ${srcdir}/mark.texi \ | |
79 ${srcdir}/killing.texi \ | |
80 ${srcdir}/regs.texi \ | |
81 ${srcdir}/display.texi \ | |
82 ${srcdir}/search.texi \ | |
83 ${srcdir}/fixit.texi \ | |
84 ${srcdir}/files.texi \ | |
85 ${srcdir}/buffers.texi \ | |
86 ${srcdir}/windows.texi \ | |
87 ${srcdir}/frames.texi \ | |
88 ${srcdir}/mule.texi \ | |
89 ${srcdir}/major.texi \ | |
90 ${srcdir}/indent.texi \ | |
91 ${srcdir}/text.texi \ | |
92 ${srcdir}/programs.texi \ | |
93 ${srcdir}/building.texi \ | |
94 ${srcdir}/maintaining.texi \ | |
95 ${srcdir}/abbrevs.texi \ | |
96 ${srcdir}/sending.texi \ | |
97 ${srcdir}/rmail.texi \ | |
98 ${srcdir}/dired.texi \ | |
99 ${srcdir}/calendar.texi \ | |
100 ${srcdir}/misc.texi \ | |
101 ${srcdir}/custom.texi \ | |
102 ${srcdir}/trouble.texi \ | |
103 ${srcdir}/cmdargs.texi \ | |
104 ${srcdir}/xresources.texi \ | |
105 ${srcdir}/anti.texi \ | |
106 ${srcdir}/macos.texi \ | |
107 ${srcdir}/msdog.texi \ | |
108 ${srcdir}/gnu.texi \ | |
109 ${srcdir}/glossary.texi \ | |
110 ${srcdir}/ack.texi \ | |
111 ${srcdir}/kmacro.texi \ | |
112 $(EMACS_XTRA) | |
113 | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
114 info: $(infodir) $(INFO_TARGETS) |
84218 | 115 |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
116 $(infodir): |
84218 | 117 mkdir $@ |
118 | |
119 dvi: $(DVI_TARGETS) | |
120 | |
121 # Note that all the Info targets build the Info files | |
122 # in srcdir. There is no provision for Info files | |
123 # to exist in the build directory. | |
124 # In a distribution of Emacs, the Info files should be up to date. | |
125 | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
126 emacs : $(infodir)/emacs |
84218 | 127 |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
128 $(infodir)/emacs: ${EMACSSOURCES} |
84218 | 129 cd $(srcdir); $(MAKEINFO) emacs.texi |
130 | |
131 emacs.dvi: ${EMACSSOURCES} | |
132 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs.texi | |
133 | |
103866 | 134 emacs.pdf: ${EMACSSOURCES} |
135 $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs.texi | |
136 | |
84218 | 137 |
138 emacs-xtra.dvi: emacs-xtra.texi $(EMACS_XTRA) | |
139 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-xtra.texi | |
140 | |
103866 | 141 emacs-xtra.pdf: emacs-xtra.texi $(EMACS_XTRA) |
142 $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-xtra.texi | |
143 | |
84218 | 144 |
145 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
|
146 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
|
147 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc |
84218 | 148 |
149 clean: mostlyclean | |
150 rm -f *.dvi | |
151 | |
152 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
|
153 # rm -f Makefile |
84218 | 154 |
155 maintainer-clean: distclean | |
156 for file in $(INFO_TARGETS); do rm -f $${file}*; done | |
157 | |
158 | |
159 # Formerly this directory had texindex.c and getopt.c in it | |
160 # and this makefile built them to make texindex. | |
161 # That caused trouble because this is run entirely in the source directory. | |
162 # Since we expect to get texi2dvi from elsewhere, | |
163 # 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
|
164 |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
165 |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
166 ### Makefile ends here |