annotate doc/lispintro/Makefile.in @ 103846:d4545e05c853

(Top): Info can be read from other places than Emacs. Don't print the copying notice twice in the printed version. Update the menu and detailmenu. (Preface): The meaning of "on-line" has changed. Correct name for "Common Problems" chapter. (Distrib): Update FSF shop URL. (Intro): Showing two files at once is not so exciting.
author Glenn Morris <rgm@gnu.org>
date Sat, 11 Jul 2009 02:49:45 +0000
parents 649949326c56
children 8c46dd95e6c7
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
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002,
100974
cb5d2387102c Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 95034
diff changeset
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 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
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 DVIPS = dvips
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 .SUFFIXES: .dvi .ps .texi
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43 info: $(INFO_TARGETS)
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 dvi: $(DVI_TARGETS)
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 ${infodir}/eintr: ${INFO_SOURCES}
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 cd $(srcdir); $(MAKEINFO) emacs-lisp-intro.texi -o $(infodir)/eintr
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 emacs-lisp-intro.dvi: ${INFO_SOURCES}
103790
649949326c56 (texinfodir): Rename from usermanualdir, and update.
Glenn Morris <rgm@gnu.org>
parents: 100974
diff changeset
51 $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $(srcdir)/emacs-lisp-intro.texi
83942
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 emacs-lisp-intro.html: $(INFO_SOURCES)
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 .dvi.ps:
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 $(DVIPS) $< -o $@
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 mostlyclean:
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 rm -f *.log *.cp *.fn *.ky *.pg *.vr *.tp
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 clean: mostlyclean
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 rm -f *.dvi
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 distclean: clean
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 maintainer-clean: distclean
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 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
69 cd $(infodir); rm -f eintr eintr-[1-9]
83942
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 # 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
72 # Otherwise a system limit (for SysV at least) may be exceeded.
c9b595f90ad7 Move here from ../../lispintro/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 .NOEXPORT: