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
|
|
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, or (at your option)
|
|
11 # 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; see the file COPYING. If not, write to
|
|
20 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
21 # Boston, MA 02110-1301, USA.
|
|
22
|
|
23 SHELL = @SHELL@
|
|
24
|
|
25 srcdir = @srcdir@
|
|
26 VPATH = @srcdir@
|
|
27
|
83964
|
28 infodir = ../../info
|
|
29 usermanualdir = $(srcdir)/../emacs
|
83942
|
30
|
|
31 INFO_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
|
|
34 INFO_TARGETS = ${infodir}/eintr
|
|
35 DVI_TARGETS = emacs-lisp-intro.dvi
|
|
36
|
|
37 MAKEINFO = makeinfo
|
|
38 TEXI2DVI = texi2dvi
|
|
39 DVIPS = dvips
|
|
40
|
|
41 .SUFFIXES: .dvi .ps .texi
|
|
42
|
|
43 info: $(INFO_TARGETS)
|
|
44
|
|
45 dvi: $(DVI_TARGETS)
|
|
46
|
|
47 ${infodir}/eintr: ${INFO_SOURCES}
|
|
48 cd $(srcdir); $(MAKEINFO) emacs-lisp-intro.texi -o $(infodir)/eintr
|
|
49
|
|
50 emacs-lisp-intro.dvi: ${INFO_SOURCES}
|
|
51 $(TEXI2DVI) -I $(srcdir) -I $(usermanualdir) $(srcdir)/emacs-lisp-intro.texi
|
|
52
|
|
53 emacs-lisp-intro.html: $(INFO_SOURCES)
|
|
54 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
|
|
55
|
|
56 .dvi.ps:
|
|
57 $(DVIPS) $< -o $@
|
|
58
|
|
59 mostlyclean:
|
|
60 rm -f *.log *.cp *.fn *.ky *.pg *.vr *.tp
|
|
61
|
|
62 clean: mostlyclean
|
|
63 rm -f *.dvi
|
|
64
|
|
65 distclean: clean
|
|
66
|
|
67 maintainer-clean: distclean
|
|
68 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
|
84348
|
69 cd $(infodir); rm -f eintr eintr-[1-9]
|
83942
|
70
|
|
71 # Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
72 # Otherwise a system limit (for SysV at least) may be exceeded.
|
|
73 .NOEXPORT:
|