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