Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / doc / lispref / makefile.w32-in
bloba56edd9f498c883e4bbb1cc7eea78be6d553d284
1 # -*- Makefile -*- for the GNU Emacs Lisp Reference Manual.
3 # Copyright (C) 2003-2014 Free Software Foundation, Inc.
5 # This file is part of GNU Emacs.
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.
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.
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/>.
21 # Standard configure variables.
22 srcdir = .
24 infodir = $(srcdir)/../../info
26 # Directory with emacsver.texi.
27 emacsdir = $(srcdir)/../emacs
28 # Directory with the (customized) texinfo.tex file.
29 texinfodir = $(srcdir)/../misc
31 INFO_EXT=.info
32 INFO_OPTS=--no-split
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)
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
47 # List of all the texinfo files in the manual:
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
104 .PHONY: clean
106 # The info file is named `elisp'.
108 info: $(infodir)/elisp$(INFO_EXT)
110 $(infodir)/dir:
111         $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
113 $(infodir)/elisp$(INFO_EXT): $(srcs)
114         $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ $(srcdir)/elisp.texi
116 elisp.dvi: $(srcs)
117         $(texinputdir) $(TEX) $(srcdir)/elisp.texi
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*
125 distclean: clean
126         - $(DEL) makefile
128 maintainer-clean: distclean
129         - $(DEL) elisp$(INFO_EXT) elisp$(INFO_EXT)-? elisp$(INFO_EXT)-?? elisp.dvi elisp.oaux