Mercurial > emacs
annotate doc/lispintro/Makefile.in @ 110181:9e17fce46124
Avoid corrupting archive-contents file.
* emacs-lisp/package.el (package--download-one-archive): Ensure
that archive-contents is valid before saving it.
(package-activate-1, package-mark-obsolete, define-package)
(package-compute-transaction, package-list-maybe-add): Use push.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 04 Sep 2010 13:13:14 -0400 |
parents | 1d1d5d9bd884 |
children | 664402ada542 376148b31b5e |
rev | line source |
---|---|
83942 | 1 #### Makefile for the Emacs Lisp Introduction manual |
2 | |
105775 | 3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, |
106815 | 4 # 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
83942 | 5 |
6 # This file is part of GNU Emacs. | |
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 | 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 | 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 | |
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 | 21 |
22 SHELL = @SHELL@ | |
23 | |
24 srcdir = @srcdir@ | |
25 VPATH = @srcdir@ | |
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 | 30 |
31 INFO_SOURCES = ${srcdir}/emacs-lisp-intro.texi | |
32 # The file name eintr must fit within 5 characters, to allow for | |
33 # -NN extensions to fit into DOS 8+3 limits without clashing | |
34 INFO_TARGETS = ${infodir}/eintr | |
35 DVI_TARGETS = emacs-lisp-intro.dvi | |
36 | |
37 MAKEINFO = makeinfo | |
38 TEXI2DVI = texi2dvi | |
105775 | 39 TEXI2PDF = texi2pdf |
83942 | 40 DVIPS = dvips |
41 | |
42 .SUFFIXES: .dvi .ps .texi | |
43 | |
44 info: $(INFO_TARGETS) | |
45 | |
46 dvi: $(DVI_TARGETS) | |
47 | |
48 ${infodir}/eintr: ${INFO_SOURCES} | |
49 cd $(srcdir); $(MAKEINFO) emacs-lisp-intro.texi -o $(infodir)/eintr | |
50 | |
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 | 53 |
105775 | 54 emacs-lisp-intro.pdf: ${INFO_SOURCES} |
55 $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $(srcdir)/emacs-lisp-intro.texi | |
56 | |
83942 | 57 emacs-lisp-intro.html: $(INFO_SOURCES) |
58 $(MAKEINFO) --html -o $@ $(srcdir)/emacs-lisp-intro.texi | |
59 | |
60 .dvi.ps: | |
61 $(DVIPS) $< -o $@ | |
62 | |
63 mostlyclean: | |
64 rm -f *.log *.cp *.fn *.ky *.pg *.vr *.tp | |
65 | |
66 clean: mostlyclean | |
67 rm -f *.dvi | |
68 | |
69 distclean: clean | |
70 | |
71 maintainer-clean: distclean | |
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 | 74 |
75 # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
76 # Otherwise a system limit (for SysV at least) may be exceeded. | |
77 .NOEXPORT: |