Update copyright notices for 2013.
[bpt/emacs.git] / doc / lispref / makefile.w32-in
1 # -*- Makefile -*- for the GNU Emacs Lisp Reference Manual.
2
3 # Copyright (C) 2003-2013 Free Software Foundation, Inc.
4
5 # This file is part of GNU Emacs.
6
7 # GNU Emacs is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
11
12 # GNU Emacs is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
19
20
21 # Standard configure variables.
22 srcdir = .
23
24 infodir = $(srcdir)/../../info
25
26 # Directory with emacsver.texi.
27 emacsdir = $(srcdir)/../emacs
28 # Directory with the (customized) texinfo.tex file.
29 texinfodir = $(srcdir)/../misc
30
31 INFO_EXT=.info
32 INFO_OPTS=--no-split
33
34 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
35 # TEX=platex
36 TEX=tex
37 INSTALL_INFO = install-info
38 MAKEINFO = makeinfo
39 MAKEINFO_OPTS = --force --enable-encoding -I$(srcdir) -I$(emacsdir)
40
41 # The environment variable and its value to add $(srcdir) to the path
42 # searched for TeX input files.
43 texinputdir = $(srcdir)\..\..\nt\envadd.bat \
44 "TEXINPUTS=$(srcdir);$(texinfodir);$(emacsdir);$(TEXINPUTS)" \
45 "MAKEINFO=$(MAKEINFO) $(MAKEINFO_OPTS)" /C
46
47 # List of all the texinfo files in the manual:
48
49 srcs = \
50 $(emacsdir)/emacsver.texi \
51 $(srcdir)/abbrevs.texi \
52 $(srcdir)/advice.texi \
53 $(srcdir)/anti.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)/macros.texi \
78 $(srcdir)/maps.texi \
79 $(srcdir)/markers.texi \
80 $(srcdir)/minibuf.texi \
81 $(srcdir)/modes.texi \
82 $(srcdir)/nonascii.texi \
83 $(srcdir)/numbers.texi \
84 $(srcdir)/objects.texi \
85 $(srcdir)/os.texi \
86 $(srcdir)/package.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$(INFO_EXT)
109
110 $(infodir)/dir:
111 $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
112
113 $(infodir)/elisp$(INFO_EXT): $(srcs)
114 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ $(srcdir)/elisp.texi
115
116 elisp.dvi: $(srcs)
117 $(texinputdir) $(TEX) $(srcdir)/elisp.texi
118
119 clean:
120 - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
121 *.vr *.vrs *.pg *.pgs *.ky *.kys
122 - $(DEL) make.out core
123 - $(DEL) $(infodir)/elisp*
124
125 distclean: clean
126 - $(DEL) makefile
127
128 maintainer-clean: distclean
129 - $(DEL) elisp$(INFO_EXT) elisp$(INFO_EXT)-? elisp$(INFO_EXT)-?? elisp.dvi elisp.oaux