* src/minibuf.c (read_minibuf): Use CONSP instead of Fconsp.
[emacs.git] / doc / lispref / Makefile.in
blob7aadee7adea00663e79521be23e78fe076623650
1 ### @configure_input@
3 # Copyright (C) 1990-1996, 1998-2016 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/>.
20 SHELL = @SHELL@
22 # NB If you add any more configure variables,
23 # update the sed rules in the dist target below.
25 # Standard configure variables.
26 srcdir = @srcdir@
28 buildinfodir = $(srcdir)/../../info
29 # Directory with the (customized) texinfo.tex file.
30 texinfodir = $(srcdir)/../misc
31 # Directory with docstyle.tex and emacsver.texi.
32 emacsdir = $(srcdir)/../emacs
34 prefix = @prefix@
35 datarootdir = @datarootdir@
36 datadir = @datadir@
37 PACKAGE_TARNAME = @PACKAGE_TARNAME@
38 docdir = @docdir@
39 dvidir = @dvidir@
40 htmldir = @htmldir@
41 pdfdir = @pdfdir@
42 psdir = @psdir@
44 MKDIR_P = @MKDIR_P@
46 GZIP_PROG = @GZIP_PROG@
48 HTML_OPTS = --no-split --html
50 # Options used only when making info output.
51 INFO_OPTS= --no-split
53 INSTALL = @INSTALL@
54 INSTALL_DATA = @INSTALL_DATA@
56 MAKEINFO = @MAKEINFO@
57 MAKEINFO_OPTS = --force --enable-encoding -I $(emacsdir) -I $(srcdir)
58 TEXI2DVI = texi2dvi
59 TEXI2PDF = texi2pdf
60 DVIPS = dvips
62 # 'make' verbosity.
63 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
65 AM_V_GEN = $(am__v_GEN_@AM_V@)
66 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
67 am__v_GEN_0 = @echo " GEN " $@;
68 am__v_GEN_1 =
70 ENVADD = \
71 $(AM_V_GEN)TEXINPUTS="$(srcdir):$(texinfodir):$(emacsdir):$(TEXINPUTS)" \
72 MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
74 DVI_TARGETS = elisp.dvi
75 HTML_TARGETS = elisp.html
76 PDF_TARGETS = elisp.pdf
77 PS_TARGETS = elisp.ps
79 # List of all the texinfo files in the manual:
81 srcs = \
82 $(srcdir)/elisp.texi \
83 $(emacsdir)/docstyle.texi \
84 $(emacsdir)/emacsver.texi \
85 $(srcdir)/abbrevs.texi \
86 $(srcdir)/anti.texi \
87 $(srcdir)/backups.texi \
88 $(srcdir)/buffers.texi \
89 $(srcdir)/commands.texi \
90 $(srcdir)/compile.texi \
91 $(srcdir)/control.texi \
92 $(srcdir)/customize.texi \
93 $(srcdir)/debugging.texi \
94 $(srcdir)/display.texi \
95 $(srcdir)/edebug.texi \
96 $(srcdir)/errors.texi \
97 $(srcdir)/eval.texi \
98 $(srcdir)/files.texi \
99 $(srcdir)/frames.texi \
100 $(srcdir)/functions.texi \
101 $(srcdir)/hash.texi \
102 $(srcdir)/help.texi \
103 $(srcdir)/hooks.texi \
104 $(srcdir)/internals.texi \
105 $(srcdir)/intro.texi \
106 $(srcdir)/keymaps.texi \
107 $(srcdir)/lists.texi \
108 $(srcdir)/loading.texi \
109 $(srcdir)/macros.texi \
110 $(srcdir)/maps.texi \
111 $(srcdir)/markers.texi \
112 $(srcdir)/minibuf.texi \
113 $(srcdir)/modes.texi \
114 $(srcdir)/nonascii.texi \
115 $(srcdir)/numbers.texi \
116 $(srcdir)/objects.texi \
117 $(srcdir)/os.texi \
118 $(srcdir)/package.texi \
119 $(srcdir)/positions.texi \
120 $(srcdir)/processes.texi \
121 $(srcdir)/searching.texi \
122 $(srcdir)/sequences.texi \
123 $(srcdir)/streams.texi \
124 $(srcdir)/strings.texi \
125 $(srcdir)/symbols.texi \
126 $(srcdir)/syntax.texi \
127 $(srcdir)/text.texi \
128 $(srcdir)/tips.texi \
129 $(srcdir)/variables.texi \
130 $(srcdir)/windows.texi \
131 $(srcdir)/index.texi \
132 $(srcdir)/gpl.texi \
133 $(srcdir)/doclicense.texi
135 ## Disable implicit rules.
136 %.texi: ;
138 .PHONY: info dvi html pdf ps
140 info: $(buildinfodir)/elisp.info
141 dvi: $(DVI_TARGETS)
142 html: $(HTML_TARGETS)
143 pdf: $(PDF_TARGETS)
144 ps: $(PS_TARGETS)
146 ${buildinfodir}:
147 ${MKDIR_P} $@
149 $(buildinfodir)/elisp.info: $(srcs) | ${buildinfodir}
150 $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ $<
152 elisp.dvi: $(srcs)
153 $(ENVADD) $(TEXI2DVI) $<
155 elisp.html: $(srcs)
156 $(AM_V_GEN)$(MAKEINFO) $(MAKEINFO_OPTS) $(HTML_OPTS) -o $@ $<
158 elisp.pdf: $(srcs)
159 $(ENVADD) $(TEXI2PDF) $<
161 elisp.ps: elisp.dvi
162 $(DVIPS) -o $@ $<
164 .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean infoclean
166 ## [12] stuff is from two-volume.make.
167 mostlyclean:
168 rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
169 *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
170 rm -f elisp[12]* vol[12].tmp
172 clean: mostlyclean
173 rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS)
174 rm -f vol[12].dvi vol[12].pdf vol[12].ps
176 distclean: clean
177 rm -f Makefile
179 infoclean:
180 rm -f \
181 $(buildinfodir)/elisp.info \
182 $(buildinfodir)/elisp.info-[1-9] \
183 $(buildinfodir)/elisp.info-[1-9][0-9]
185 bootstrap-clean maintainer-clean: distclean infoclean
187 .PHONY: install-dvi install-html install-pdf install-ps install-doc
189 install-dvi: dvi
190 umask 022; $(MKDIR_P) "$(DESTDIR)$(dvidir)"
191 $(INSTALL_DATA) $(DVI_TARGETS) "$(DESTDIR)$(dvidir)"
192 install-html: html
193 umask 022; $(MKDIR_P) "$(DESTDIR)$(htmldir)"
194 $(INSTALL_DATA) $(HTML_TARGETS) "$(DESTDIR)$(htmldir)"
195 install-pdf: pdf
196 umask 022;$(MKDIR_P) "$(DESTDIR)$(pdfdir)"
197 $(INSTALL_DATA) $(PDF_TARGETS) "$(DESTDIR)$(pdfdir)"
198 install-ps: ps
199 umask 022; $(MKDIR_P) "$(DESTDIR)$(psdir)"
200 for file in $(PS_TARGETS); do \
201 $(INSTALL_DATA) $${file} "$(DESTDIR)$(psdir)"; \
202 [ -n "${GZIP_PROG}" ] || continue; \
203 rm -f "$(DESTDIR)$(psdir)/$${file}.gz"; \
204 ${GZIP_PROG} -9n "$(DESTDIR)$(psdir)/$${file}"; \
205 done
207 ## Top-level Makefile installs the info pages.
208 install-doc: install-dvi install-html install-pdf install-ps
211 .PHONY: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps uninstall-doc
213 uninstall-dvi:
214 for file in $(DVI_TARGETS); do \
215 rm -f "$(DESTDIR)$(dvidir)/$${file}"; \
216 done
217 uninstall-html:
218 for file in $(HTML_TARGETS); do \
219 rm -f "$(DESTDIR)$(htmldir)/$${file}"; \
220 done
221 uninstall-ps:
222 ext= ; [ -n "${GZIP_PROG}" ] && ext=.gz; \
223 for file in $(PS_TARGETS); do \
224 rm -f "$(DESTDIR)$(psdir)/$${file}$${ext}"; \
225 done
226 uninstall-pdf:
227 for file in $(PDF_TARGETS); do \
228 rm -f "$(DESTDIR)$(pdfdir)/$${file}"; \
229 done
231 uninstall-doc: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps
234 ### Makefile ends here