Add 2012 to FSF copyright years for Emacs files (do not merge to trunk)
[bpt/emacs.git] / doc / lispintro / Makefile.in
CommitLineData
8cda6f8f
GM
1#### Makefile for the Emacs Lisp Introduction manual
2
b60bfecc 3# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003,
49f70d46 4# 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
8cda6f8f
GM
5
6# This file is part of GNU Emacs.
7
8ae3715e 8# GNU Emacs is free software: you can redistribute it and/or modify
8cda6f8f 9# it under the terms of the GNU General Public License as published by
8ae3715e
GM
10# the Free Software Foundation, either version 3 of the License, or
11# (at your option) any later version.
8cda6f8f
GM
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
8ae3715e
GM
19# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
20
8cda6f8f
GM
21
22SHELL = @SHELL@
23
24srcdir = @srcdir@
25VPATH = @srcdir@
26
9d2663a9 27infodir = ../../info
fdf93ad9
GM
28# Directory with the (customized) texinfo.tex file.
29texinfodir = $(srcdir)/../misc
8cda6f8f
GM
30
31INFO_SOURCES = ${srcdir}/emacs-lisp-intro.texi
32# The file name eintr must fit within 5 characters, to allow for
33# -NN extensions to fit into DOS 8+3 limits without clashing
34INFO_TARGETS = ${infodir}/eintr
35DVI_TARGETS = emacs-lisp-intro.dvi
36
37MAKEINFO = makeinfo
38TEXI2DVI = texi2dvi
b60bfecc 39TEXI2PDF = texi2pdf
8cda6f8f
GM
40DVIPS = dvips
41
42.SUFFIXES: .dvi .ps .texi
43
44info: $(INFO_TARGETS)
45
46dvi: $(DVI_TARGETS)
47
48${infodir}/eintr: ${INFO_SOURCES}
49 cd $(srcdir); $(MAKEINFO) emacs-lisp-intro.texi -o $(infodir)/eintr
50
51emacs-lisp-intro.dvi: ${INFO_SOURCES}
fdf93ad9 52 $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $(srcdir)/emacs-lisp-intro.texi
8cda6f8f 53
b60bfecc
GM
54emacs-lisp-intro.pdf: ${INFO_SOURCES}
55 $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $(srcdir)/emacs-lisp-intro.texi
56
8cda6f8f
GM
57emacs-lisp-intro.html: $(INFO_SOURCES)
58 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
59
60.dvi.ps:
61 $(DVIPS) $< -o $@
62
63mostlyclean:
64 rm -f *.log *.cp *.fn *.ky *.pg *.vr *.tp
65
66clean: mostlyclean
67 rm -f *.dvi
68
69distclean: clean
70
71maintainer-clean: distclean
72 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
5e6876cb 73 cd $(infodir); rm -f eintr eintr-[1-9]
8cda6f8f
GM
74
75# Tell versions [3.59,3.63) of GNU make to not export all variables.
76# Otherwise a system limit (for SysV at least) may be exceeded.
77.NOEXPORT: