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