]> code.delx.au - gnu-emacs/blob - doc/lispintro/makefile.w32-in
8c7c5eb05278821551e2cacfeb000dc6806ad2b8
[gnu-emacs] / doc / lispintro / makefile.w32-in
1 #### -*- Makefile -*- for the Emacs Lisp Introduction manual.
2
3 # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
4 # Free Software Foundation, Inc.
5
6 # This file is part of GNU Emacs.
7
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.
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
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
20
21
22 srcdir = .
23
24 infodir = $(srcdir)/../../info
25 # Directory with the (customized) texinfo.tex file.
26 texinfodir = $(srcdir)/../misc
27
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
33
34 MAKEINFO = makeinfo
35 INSTALL_INFO = install-info
36 TEXI2DVI = texi2dvi
37 TEXI2PDF = texi2pdf
38 DVIPS = dvips
39 ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \
40 "MAKEINFO=$(MAKEINFO) -I$(srcdir) -I$(texinfodir)" /C
41
42 .SUFFIXES: .dvi .ps .texi
43
44 info: $(INFO_TARGETS)
45
46 $(infodir)/dir:
47 $(INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS)
48
49 dvi: $(DVI_TARGETS)
50
51 $(infodir)/eintr: $(INFO_SOURCES)
52 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi
53
54 emacs-lisp-intro.dvi: $(INFO_SOURCES)
55 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi
56
57 emacs-lisp-intro.pdf: $(INFO_SOURCES)
58 $(ENVADD) $(TEXI2PDF) $(srcdir)/emacs-lisp-intro.texi
59
60 emacs-lisp-intro.html: $(INFO_SOURCES)
61 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
62
63 .dvi.ps:
64 $(DVIPS) $< -o $@
65
66 mostlyclean:
67 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr *.tp
68
69 clean: mostlyclean
70 - $(DEL) *.dvi $(infodir)/eintr*
71
72 distclean: clean
73 - $(DEL) makefile
74
75 maintainer-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: