83942
|
1 #### Makefile for the Emacs Lisp Introduction manual
|
|
2
|
|
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002,
|
87649
|
4 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
83942
|
5
|
|
6 # This file is part of GNU Emacs.
|
|
7
|
95034
|
8 # GNU Emacs is free software: you can redistribute it and/or modify
|
83942
|
9 # it under the terms of the GNU General Public License as published by
|
95034
|
10 # the Free Software Foundation, either version 3 of the License, or
|
|
11 # (at your option) any later version.
|
83942
|
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
|
95034
|
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
83942
|
21
|
|
22 SHELL = @SHELL@
|
|
23
|
|
24 srcdir = @srcdir@
|
|
25 VPATH = @srcdir@
|
|
26
|
83964
|
27 infodir = ../../info
|
|
28 usermanualdir = $(srcdir)/../emacs
|
83942
|
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
|
84348
|
68 cd $(infodir); rm -f eintr eintr-[1-9]
|
83942
|
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:
|