Mercurial > emacs
annotate doc/emacs/Makefile.in @ 95036:76cbdd481eaf
Switch to recommended form of GPLv3 permissions notice.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 16 May 2008 06:02:53 +0000 |
parents | 04d74bde81a8 |
children | 0702da1d9718 |
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 | |
95036
76cbdd481eaf
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87911
diff
changeset
|
8 # GNU Emacs is free software: you can redistribute it and/or modify |
84218 | 9 # 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
|
10 # 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
|
11 # (at your option) any later version. |
84218 | 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 | |
95036
76cbdd481eaf
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87911
diff
changeset
|
19 # 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
|
20 |
84218 | 21 |
22 # Where to find the source code. $(srcdir) will be the man | |
23 # subdirectory of the source tree. This is | |
24 # set by the configure script's `--srcdir' option. | |
25 srcdir=@srcdir@ | |
26 top_srcdir=@top_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 |
84218 | 34 |
35 # The makeinfo program is part of the Texinfo distribution. | |
36 # Use --force so that it generates output even if there are errors. | |
37 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
|
38 |
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
39 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
|
40 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
|
41 |
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 TEXI2DVI = texi2dvi |
84218 | 44 |
45 # The following rule does not work with all versions of `make'. | |
46 .SUFFIXES: .texi .dvi | |
47 .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
|
48 $(TEXI2DVI) $< |
84218 | 49 |
50 ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)" | |
51 | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
52 |
84218 | 53 EMACS_XTRA=\ |
54 $(srcdir)/arevert-xtra.texi \ | |
55 $(srcdir)/cal-xtra.texi \ | |
56 $(srcdir)/dired-xtra.texi \ | |
57 $(srcdir)/picture-xtra.texi \ | |
58 $(srcdir)/emerge-xtra.texi \ | |
59 $(srcdir)/vc-xtra.texi \ | |
60 $(srcdir)/vc1-xtra.texi \ | |
61 $(srcdir)/vc2-xtra.texi \ | |
62 $(srcdir)/fortran-xtra.texi \ | |
63 $(srcdir)/msdog-xtra.texi | |
64 | |
65 EMACSSOURCES= \ | |
66 ${srcdir}/emacs.texi \ | |
67 ${srcdir}/doclicense.texi \ | |
68 ${srcdir}/gpl.texi \ | |
69 ${srcdir}/screen.texi \ | |
70 ${srcdir}/commands.texi \ | |
71 ${srcdir}/entering.texi \ | |
72 ${srcdir}/basic.texi \ | |
73 ${srcdir}/mini.texi \ | |
74 ${srcdir}/m-x.texi \ | |
75 ${srcdir}/help.texi \ | |
76 ${srcdir}/mark.texi \ | |
77 ${srcdir}/killing.texi \ | |
78 ${srcdir}/regs.texi \ | |
79 ${srcdir}/display.texi \ | |
80 ${srcdir}/search.texi \ | |
81 ${srcdir}/fixit.texi \ | |
82 ${srcdir}/files.texi \ | |
83 ${srcdir}/buffers.texi \ | |
84 ${srcdir}/windows.texi \ | |
85 ${srcdir}/frames.texi \ | |
86 ${srcdir}/mule.texi \ | |
87 ${srcdir}/major.texi \ | |
88 ${srcdir}/indent.texi \ | |
89 ${srcdir}/text.texi \ | |
90 ${srcdir}/programs.texi \ | |
91 ${srcdir}/building.texi \ | |
92 ${srcdir}/maintaining.texi \ | |
93 ${srcdir}/abbrevs.texi \ | |
94 ${srcdir}/sending.texi \ | |
95 ${srcdir}/rmail.texi \ | |
96 ${srcdir}/dired.texi \ | |
97 ${srcdir}/calendar.texi \ | |
98 ${srcdir}/misc.texi \ | |
99 ${srcdir}/custom.texi \ | |
100 ${srcdir}/trouble.texi \ | |
101 ${srcdir}/cmdargs.texi \ | |
102 ${srcdir}/xresources.texi \ | |
103 ${srcdir}/anti.texi \ | |
104 ${srcdir}/macos.texi \ | |
105 ${srcdir}/msdog.texi \ | |
106 ${srcdir}/gnu.texi \ | |
107 ${srcdir}/glossary.texi \ | |
108 ${srcdir}/ack.texi \ | |
109 ${srcdir}/kmacro.texi \ | |
110 $(EMACS_XTRA) | |
111 | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
112 info: $(infodir) $(INFO_TARGETS) |
84218 | 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 $(infodir): |
84218 | 115 mkdir $@ |
116 | |
117 dvi: $(DVI_TARGETS) | |
118 | |
119 # Note that all the Info targets build the Info files | |
120 # in srcdir. There is no provision for Info files | |
121 # to exist in the build directory. | |
122 # In a distribution of Emacs, the Info files should be up to date. | |
123 | |
84276
4d1a7898a1ff
Move all targets that are not the Emacs manual to misc/Makefile.in.
Glenn Morris <rgm@gnu.org>
parents:
84218
diff
changeset
|
124 emacs : $(infodir)/emacs |
84218 | 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 $(infodir)/emacs: ${EMACSSOURCES} |
84218 | 127 cd $(srcdir); $(MAKEINFO) emacs.texi |
128 | |
129 emacs.dvi: ${EMACSSOURCES} | |
130 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs.texi | |
131 | |
132 | |
133 emacs-xtra.dvi: emacs-xtra.texi $(EMACS_XTRA) | |
134 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-xtra.texi | |
135 | |
136 | |
137 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
|
138 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
|
139 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc |
84218 | 140 |
141 clean: mostlyclean | |
142 rm -f *.dvi | |
143 | |
144 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
|
145 # rm -f Makefile |
84218 | 146 |
147 maintainer-clean: distclean | |
148 for file in $(INFO_TARGETS); do rm -f $${file}*; done | |
149 | |
150 | |
151 # Formerly this directory had texindex.c and getopt.c in it | |
152 # and this makefile built them to make texindex. | |
153 # That caused trouble because this is run entirely in the source directory. | |
154 # Since we expect to get texi2dvi from elsewhere, | |
155 # 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
|
156 |
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 ### Makefile ends here |