annotate doc/lispintro/makefile.w32-in @ 84868:a570abcfe00a

(cd): Use `mapc' rather than `mapcar'.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 25 Sep 2007 11:05:46 +0000
parents 027b8b5bc713
children 107ccd98fa12
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83960
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 #### -*- Makefile -*- for the Emacs Lisp Introduction manual.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 # Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 # This file is part of GNU Emacs.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7 # GNU Emacs is free software; you can redistribute it and/or modify
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 # it under the terms of the GNU General Public License as published by
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9 # the Free Software Foundation; either version 3, or (at your option)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10 # any later version.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12 # GNU Emacs is distributed in the hope that it will be useful,
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 # GNU General Public License for more details.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 # along with GNU Emacs; see the file COPYING. If not, write to
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 # Boston, MA 02110-1301, USA.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 srcdir = .
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23
83966
027b8b5bc713 (infodir, ENVADD): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents: 83960
diff changeset
24 infodir = $(srcdir)/../../info
83960
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26 INFO_SOURCES = $(srcdir)/emacs-lisp-intro.texi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27 # The file name eintr must fit within 5 characters, to allow for
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 # -NN extensions to fit into DOS 8+3 limits without clashing
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29 INFO_TARGETS = $(infodir)/eintr
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 DVI_TARGETS = emacs-lisp-intro.dvi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 MAKEINFO = makeinfo
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 INSTALL_INFO = install-info
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 TEXI2DVI = texi2dvi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 DVIPS = dvips
83966
027b8b5bc713 (infodir, ENVADD): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents: 83960
diff changeset
36 ENVADD = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" \
83960
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37 "MAKEINFO=$(MAKEINFO) -I$(srcdir)" /C
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 .SUFFIXES: .dvi .ps .texi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 info: $(INFO_TARGETS)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43 $(infodir)/dir:
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 $(INSTALL_INFO) --info-dir=$(infodir) $(INFO_TARGETS)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 dvi: $(DVI_TARGETS)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 $(infodir)/eintr: $(INFO_SOURCES)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 $(MAKEINFO) -o $@ $(srcdir)/emacs-lisp-intro.texi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 emacs-lisp-intro.dvi: $(INFO_SOURCES)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 $(ENVADD) $(TEXI2DVI) $(srcdir)/emacs-lisp-intro.texi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 emacs-lisp-intro.html: $(INFO_SOURCES)
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 .dvi.ps:
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 $(DVIPS) $< -o $@
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 mostlyclean:
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 - $(DEL) *.log *.cp *.fn *.ky *.pg *.vr *.tp
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 clean: mostlyclean
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 - $(DEL) *.dvi $(infodir)/eintr*
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 distclean: clean
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 maintainer-clean: distclean
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 - $(DEL) *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 # Tell versions [3.59,3.63) of GNU make to not export all variables.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 # Otherwise a system limit (for SysV at least) may be exceeded.
ee06053fdbc0 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 .NOEXPORT: