Sync to HEAD
[bpt/emacs.git] / lispintro / Makefile.in
CommitLineData
9d940192
EZ
1#### Makefile for the Emacs Lisp Introduction manual
2
3# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4
5# This file is part of GNU Emacs.
6
7# GNU Emacs is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2, or (at your option)
10# any later version.
11
12# GNU Emacs is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16
17# You should have received a copy of the GNU General Public License
18# along with GNU Emacs; see the file COPYING. If not, write to
19# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20# Boston, MA 02111-1307, USA.
21
22SHELL = @SHELL@
23
24srcdir = @srcdir@
25VPATH = @srcdir@
26
27infodir = ${srcdir}/../info
28
29INFO_SOURCES = ${srcdir}/emacs-lisp-intro.texi
30# The file name eintr must fit within 5 characters, to allow for
31# -NN extensions to fit into DOS 8+3 limits without clashing
32INFO_TARGETS = ${infodir}/eintr
33DVI_TARGETS = emacs-lisp-intro.dvi
34
35MAKEINFO = makeinfo
36TEXI2DVI = texi2dvi
37DVIPS = dvips
9bfef367 38ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)"
9d940192
EZ
39
40.SUFFIXES: .dvi .ps .texi
41
42info: $(INFO_TARGETS)
43
44dvi: $(DVI_TARGETS)
45
46${infodir}/eintr: ${INFO_SOURCES}
47 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi
48
49emacs-lisp-intro.dvi: ${INFO_SOURCES}
9bfef367 50 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi
9d940192
EZ
51
52emacs-lisp-intro.html: $(INFO_SOURCES)
53 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
54
55.dvi.ps:
56 $(DVIPS) $< -o $@
57
58mostlyclean:
59 rm -f *.log *.cp *.fn *.ky *.pg *.vr *.tp
60
61clean: mostlyclean
62 rm -f *.dvi
63
64distclean: clean
65
66maintainer-clean: distclean
67 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
68
69# Tell versions [3.59,3.63) of GNU make to not export all variables.
70# Otherwise a system limit (for SysV at least) may be exceeded.
71.NOEXPORT:
6b61353c
KH
72
73# arch-tag: eb660994-cd29-4ab8-8043-5042e2dbde84