2005-09-13 Chong Yidong <cyd@stupidchicken.com>
[emacs.git] / lispintro / Makefile.in
blob0f912d614875aa8d45386f85f6136041c16f1729
1 #### Makefile for the Emacs Lisp Introduction manual
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002,
4 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This file is part of GNU Emacs.
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 2, or (at your option)
11 # any later version.
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.
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.
23 SHELL = @SHELL@
25 srcdir = @srcdir@
26 VPATH = @srcdir@
28 infodir = ${srcdir}/../info
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
36 MAKEINFO = makeinfo
37 TEXI2DVI = texi2dvi
38 DVIPS = dvips
39 ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)"
41 .SUFFIXES: .dvi .ps .texi
43 info: $(INFO_TARGETS)
45 dvi: $(DVI_TARGETS)
47 ${infodir}/eintr: ${INFO_SOURCES}
48 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi
50 emacs-lisp-intro.dvi: ${INFO_SOURCES}
51 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi
53 emacs-lisp-intro.html: $(INFO_SOURCES)
54 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
56 .dvi.ps:
57 $(DVIPS) $< -o $@
59 mostlyclean:
60 rm -f *.log *.cp *.fn *.ky *.pg *.vr *.tp
62 clean: mostlyclean
63 rm -f *.dvi
65 distclean: clean
67 maintainer-clean: distclean
68 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
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: