1 #### -*- Makefile -*- for the Emacs Lisp Introduction manual.
3 # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
4 # 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 3 of the License, or
11 # (at your option) 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. If not, see <http://www.gnu.org/licenses/>.
24 infodir = $(srcdir)/../../info
25 # Directory with the (customized) texinfo.tex file.
26 texinfodir = $(srcdir)/../misc
28 INFO_SOURCES = $(srcdir)/emacs-lisp-intro.texi
29 # The file name eintr must fit within 5 characters, to allow for
30 # -NN extensions to fit into DOS 8+3 limits without clashing
31 INFO_TARGETS = $(infodir)/eintr
32 DVI_TARGETS = emacs-lisp-intro.dvi
35 INSTALL_INFO = install-info
39 ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \
40 "MAKEINFO=$(MAKEINFO) -I$(srcdir) -I$(texinfodir)" /C
42 .SUFFIXES: .dvi .ps .texi
47 $(INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS)
51 $(infodir)/eintr: $(INFO_SOURCES)
52 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi
54 emacs-lisp-intro.dvi: $(INFO_SOURCES)
55 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi
57 emacs-lisp-intro.pdf: $(INFO_SOURCES)
58 $(ENVADD) $(TEXI2PDF) $(srcdir)/emacs-lisp-intro.texi
60 emacs-lisp-intro.html: $(INFO_SOURCES)
61 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
67 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr *.tp
70 - $(DEL) *.dvi $(infodir)/eintr*
75 maintainer-clean: distclean
76 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
78 # Tell versions [3.59,3.63) of GNU make to not export all variables.
79 # Otherwise a system limit (for SysV at least) may be exceeded.