Commit | Line | Data |
---|---|---|
9d940192 EZ |
1 | #### Makefile for the Emacs Lisp Introduction manual |
2 | ||
b398a621 | 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, |
a5b68355 | 4 | # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
9d940192 EZ |
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 | |
4a9f99bd | 10 | # the Free Software Foundation; either version 3, or (at your option) |
9d940192 EZ |
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 | |
364c38d3 LK |
20 | # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
21 | # Boston, MA 02110-1301, USA. | |
9d940192 EZ |
22 | |
23 | SHELL = @SHELL@ | |
24 | ||
25 | srcdir = @srcdir@ | |
26 | VPATH = @srcdir@ | |
27 | ||
cbdeee32 | 28 | infodir = ../info |
01dbd824 | 29 | usermanualdir = $(srcdir)/../man |
9d940192 EZ |
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 | |
9d940192 EZ |
40 | |
41 | .SUFFIXES: .dvi .ps .texi | |
42 | ||
43 | info: $(INFO_TARGETS) | |
44 | ||
45 | dvi: $(DVI_TARGETS) | |
46 | ||
47 | ${infodir}/eintr: ${INFO_SOURCES} | |
cbdeee32 | 48 | cd $(srcdir); $(MAKEINFO) emacs-lisp-intro.texi -o $(infodir)/eintr |
9d940192 EZ |
49 | |
50 | emacs-lisp-intro.dvi: ${INFO_SOURCES} | |
01dbd824 | 51 | $(TEXI2DVI) -I $(srcdir) -I $(usermanualdir) $(srcdir)/emacs-lisp-intro.texi |
9d940192 EZ |
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 | |
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: |