annotate doc/lispintro/Makefile.in @ 107292:8d0e1b3eec66

Merge from mainline.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Fri, 26 Feb 2010 06:05:32 +0000
parents 1d1d5d9bd884
children 664402ada542 376148b31b5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 #### Makefile for the Emacs Lisp Introduction manual
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2
105775
8c46dd95e6c7 (TEXI2PDF): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103790
diff changeset
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003,
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 105775
diff changeset
4 # 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 # This file is part of GNU Emacs.
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7
95034
38ec81da0a8b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
8 # GNU Emacs is free software: you can redistribute it and/or modify
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9 # it under the terms of the GNU General Public License as published by
95034
38ec81da0a8b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
10 # the Free Software Foundation, either version 3 of the License, or
38ec81da0a8b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
11 # (at your option) any later version.
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 # GNU Emacs is distributed in the hope that it will be useful,
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 # GNU General Public License for more details.
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 # You should have received a copy of the GNU General Public License
95034
38ec81da0a8b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
38ec81da0a8b Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
20
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 SHELL = @SHELL@
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24 srcdir = @srcdir@
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25 VPATH = @srcdir@
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26
83964
ff69de2569e6 (infodir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents: 83942
diff changeset
27 infodir = ../../info
103790
649949326c56 (texinfodir): Rename from usermanualdir, and update.
Glenn Morris <rgm@gnu.org>
parents: 100974
diff changeset
28 # Directory with the (customized) texinfo.tex file.
649949326c56 (texinfodir): Rename from usermanualdir, and update.
Glenn Morris <rgm@gnu.org>
parents: 100974
diff changeset
29 texinfodir = $(srcdir)/../misc
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 INFO_SOURCES = ${srcdir}/emacs-lisp-intro.texi
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 # The file name eintr must fit within 5 characters, to allow for
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 # -NN extensions to fit into DOS 8+3 limits without clashing
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 INFO_TARGETS = ${infodir}/eintr
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 DVI_TARGETS = emacs-lisp-intro.dvi
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37 MAKEINFO = makeinfo
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 TEXI2DVI = texi2dvi
105775
8c46dd95e6c7 (TEXI2PDF): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103790
diff changeset
39 TEXI2PDF = texi2pdf
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 DVIPS = dvips
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 .SUFFIXES: .dvi .ps .texi
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 info: $(INFO_TARGETS)
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 dvi: $(DVI_TARGETS)
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 ${infodir}/eintr: ${INFO_SOURCES}
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 cd $(srcdir); $(MAKEINFO) emacs-lisp-intro.texi -o $(infodir)/eintr
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 emacs-lisp-intro.dvi: ${INFO_SOURCES}
103790
649949326c56 (texinfodir): Rename from usermanualdir, and update.
Glenn Morris <rgm@gnu.org>
parents: 100974
diff changeset
52 $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $(srcdir)/emacs-lisp-intro.texi
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53
105775
8c46dd95e6c7 (TEXI2PDF): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103790
diff changeset
54 emacs-lisp-intro.pdf: ${INFO_SOURCES}
8c46dd95e6c7 (TEXI2PDF): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103790
diff changeset
55 $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $(srcdir)/emacs-lisp-intro.texi
8c46dd95e6c7 (TEXI2PDF): New variable.
Glenn Morris <rgm@gnu.org>
parents: 103790
diff changeset
56
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 emacs-lisp-intro.html: $(INFO_SOURCES)
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 .dvi.ps:
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 $(DVIPS) $< -o $@
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 mostlyclean:
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 rm -f *.log *.cp *.fn *.ky *.pg *.vr *.tp
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 clean: mostlyclean
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 rm -f *.dvi
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 distclean: clean
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 maintainer-clean: distclean
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
84348
e6e2bf709c6a (maintainer-clean): Delete info files.
Romain Francoise <romain@orebokech.com>
parents: 83964
diff changeset
73 cd $(infodir); rm -f eintr eintr-[1-9]
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 # Tell versions [3.59,3.63) of GNU make to not export all variables.
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 # Otherwise a system limit (for SysV at least) may be exceeded.
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 .NOEXPORT: