Add 2008 to copyright years.
[bpt/emacs.git] / lispintro / makefile.w32-in
CommitLineData
bd6766d3 1#### -*- Makefile -*- for the Emacs Lisp Introduction manual.
e65be2d5 2
a5b68355 3# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
e65be2d5
JR
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
4a9f99bd 9# the Free Software Foundation; either version 3, or (at your option)
e65be2d5
JR
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
364c38d3
LK
19# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20# Boston, MA 02110-1301, USA.
e65be2d5
JR
21
22srcdir = .
23
772033ad 24infodir = $(srcdir)/../info
e65be2d5
JR
25
26INFO_SOURCES = $(srcdir)/emacs-lisp-intro.texi
27# The file name eintr must fit within 5 characters, to allow for
28# -NN extensions to fit into DOS 8+3 limits without clashing
29INFO_TARGETS = $(infodir)/eintr
30DVI_TARGETS = emacs-lisp-intro.dvi
31
32MAKEINFO = makeinfo
33INSTALL_INFO = install-info
34TEXI2DVI = texi2dvi
35DVIPS = dvips
36ENVADD = $(srcdir)\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \
37 "MAKEINFO=$(MAKEINFO) -I$(srcdir)" /C
38
39.SUFFIXES: .dvi .ps .texi
40
41info: $(INFO_TARGETS)
ddd3a8bb
EZ
42
43$(infodir)/dir:
e65be2d5
JR
44 $(INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS)
45
46dvi: $(DVI_TARGETS)
47
48$(infodir)/eintr: $(INFO_SOURCES)
772033ad 49 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi
e65be2d5
JR
50
51emacs-lisp-intro.dvi: $(INFO_SOURCES)
52 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi
53
54emacs-lisp-intro.html: $(INFO_SOURCES)
55 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
56
57.dvi.ps:
58 $(DVIPS) $< -o $@
59
60mostlyclean:
5bb0fcd1 61 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr *.tp
e65be2d5
JR
62
63clean: mostlyclean
5bb0fcd1 64 - $(DEL) *.dvi $(infodir)/eintr*
e65be2d5
JR
65
66distclean: clean
67
68maintainer-clean: distclean
5bb0fcd1 69 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
e65be2d5
JR
70
71# Tell versions [3.59,3.63) of GNU make to not export all variables.
72# Otherwise a system limit (for SysV at least) may be exceeded.
73.NOEXPORT: