Add 2010 to copyright years.
[bpt/emacs.git] / doc / lispintro / makefile.w32-in
CommitLineData
8cda6f8f
GM
1#### -*- Makefile -*- for the Emacs Lisp Introduction manual.
2
114f9c96 3# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
8ae3715e 4# Free Software Foundation, Inc.
8cda6f8f
GM
5
6# This file is part of GNU Emacs.
7
8ae3715e 8# GNU Emacs is free software: you can redistribute it and/or modify
8cda6f8f 9# it under the terms of the GNU General Public License as published by
8ae3715e
GM
10# the Free Software Foundation, either version 3 of the License, or
11# (at your option) any later version.
8cda6f8f
GM
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
8ae3715e
GM
19# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
20
8cda6f8f
GM
21
22srcdir = .
23
5371a305 24infodir = $(srcdir)/../../info
ce109c95
GM
25# Directory with the (customized) texinfo.tex file.
26texinfodir = $(srcdir)/../misc
8cda6f8f
GM
27
28INFO_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
31INFO_TARGETS = $(infodir)/eintr
32DVI_TARGETS = emacs-lisp-intro.dvi
33
34MAKEINFO = makeinfo
35INSTALL_INFO = install-info
36TEXI2DVI = texi2dvi
ce109c95 37TEXI2PDF = texi2pdf
8cda6f8f 38DVIPS = dvips
5371a305 39ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \
ce109c95 40 "MAKEINFO=$(MAKEINFO) -I$(srcdir) -I$(texinfodir)" /C
8cda6f8f
GM
41
42.SUFFIXES: .dvi .ps .texi
43
9c92f9c9 44info: $(INFO_TARGETS)
8cda6f8f 45
9c92f9c9 46$(infodir)/dir:
8cda6f8f
GM
47 $(INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS)
48
49dvi: $(DVI_TARGETS)
50
51$(infodir)/eintr: $(INFO_SOURCES)
52 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi
53
54emacs-lisp-intro.dvi: $(INFO_SOURCES)
55 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi
56
03dcfe01 57emacs-lisp-intro.pdf: $(INFO_SOURCES)
ce109c95
GM
58 $(ENVADD) $(TEXI2PDF) $(srcdir)/emacs-lisp-intro.texi
59
8cda6f8f
GM
60emacs-lisp-intro.html: $(INFO_SOURCES)
61 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
62
63.dvi.ps:
64 $(DVIPS) $< -o $@
65
66mostlyclean:
67 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr *.tp
68
69clean: mostlyclean
70 - $(DEL) *.dvi $(infodir)/eintr*
71
72distclean: clean
9b4fb9b7 73 - $(DEL) makefile
8cda6f8f
GM
74
75maintainer-clean: distclean
76 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
77
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.
80.NOEXPORT: