]> code.delx.au - gnu-emacs/blob - doc/lispref/makefile.w32-in
Convert consecutive FSF copyright years to ranges.
[gnu-emacs] / doc / lispref / makefile.w32-in
1 # -*- Makefile -*- for the GNU Emacs Lisp Reference Manual.
2
3 # Copyright (C) 2003-2011
4 # Free Software Foundation, Inc.
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 of the License, or
11 # (at your option) 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. If not, see <http://www.gnu.org/licenses/>.
20
21
22 # Standard configure variables.
23 srcdir = .
24
25 infodir = $(srcdir)/../../info
26 usermanualdir = $(srcdir)/../emacs
27
28 # Directory with emacsver.texi.
29 emacsdir = $(srcdir)/../emacs
30
31 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
32 # TEX=platex
33 TEX=tex
34 INSTALL_INFO = install-info
35 MAKEINFO = makeinfo --force
36
37 # The environment variable and its value to add $(srcdir) to the path
38 # searched for TeX input files.
39 texinputdir = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" /C
40
41 # The name of the manual:
42 VERSION=2.9
43 ## FIXME can this be set by configure, as per Makefile.in?
44 manual = elisp-manual-23-$(VERSION)
45
46 # List of all the texinfo files in the manual:
47
48 srcs = \
49 $(emacsdir)/emacsver.texi \
50 $(srcdir)/abbrevs.texi \
51 $(srcdir)/advice.texi \
52 $(srcdir)/anti.texi \
53 $(srcdir)/back.texi \
54 $(srcdir)/backups.texi \
55 $(srcdir)/buffers.texi \
56 $(srcdir)/commands.texi \
57 $(srcdir)/compile.texi \
58 $(srcdir)/control.texi \
59 $(srcdir)/customize.texi \
60 $(srcdir)/debugging.texi \
61 $(srcdir)/display.texi \
62 $(srcdir)/edebug.texi \
63 $(srcdir)/elisp.texi \
64 $(srcdir)/errors.texi \
65 $(srcdir)/eval.texi \
66 $(srcdir)/files.texi \
67 $(srcdir)/frames.texi \
68 $(srcdir)/functions.texi \
69 $(srcdir)/hash.texi \
70 $(srcdir)/help.texi \
71 $(srcdir)/hooks.texi \
72 $(srcdir)/internals.texi \
73 $(srcdir)/intro.texi \
74 $(srcdir)/keymaps.texi \
75 $(srcdir)/lists.texi \
76 $(srcdir)/loading.texi \
77 $(srcdir)/locals.texi \
78 $(srcdir)/macros.texi \
79 $(srcdir)/maps.texi \
80 $(srcdir)/markers.texi \
81 $(srcdir)/minibuf.texi \
82 $(srcdir)/modes.texi \
83 $(srcdir)/nonascii.texi \
84 $(srcdir)/numbers.texi \
85 $(srcdir)/objects.texi \
86 $(srcdir)/os.texi \
87 $(srcdir)/positions.texi \
88 $(srcdir)/processes.texi \
89 $(srcdir)/searching.texi \
90 $(srcdir)/sequences.texi \
91 $(srcdir)/streams.texi \
92 $(srcdir)/strings.texi \
93 $(srcdir)/symbols.texi \
94 $(srcdir)/syntax.texi \
95 $(srcdir)/text.texi \
96 $(srcdir)/tips.texi \
97 $(srcdir)/variables.texi \
98 $(srcdir)/windows.texi \
99 $(srcdir)/index.texi \
100 $(srcdir)/gpl.texi \
101 $(srcdir)/doclicense.texi
102
103
104 .PHONY: clean
105
106 # The info file is named `elisp'.
107
108 info: $(infodir)/elisp
109
110 $(infodir)/dir:
111 $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
112
113 $(infodir)/elisp: $(srcs)
114 $(MAKEINFO) -I. -I$(srcdir) -I$(emacsdir) \
115 -o $(infodir)/elisp $(srcdir)/elisp.texi
116
117 elisp.dvi: $(srcs)
118 $(texinputdir) $(TEX) -I $(usermanualdir) -I$(emacsdir) \
119 $(srcdir)/elisp.texi
120
121 clean:
122 - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
123 *.vr *.vrs *.pg *.pgs *.ky *.kys
124 - $(DEL) make.out core
125 - $(DEL) $(infodir)/elisp*
126
127 distclean: clean
128 - $(DEL) makefile
129
130 maintainer-clean: distclean
131 - $(DEL) elisp elisp-? elisp-?? elisp.dvi elisp.oaux