annotate doc/lispref/Makefile.in @ 111715:d00ba7ce3ef0

nnimap.el (nnimap-unfold-quoted-lines): Refactor out. nnimap.el (nnimap-last-response-string): Unfold quoted lines, if they exist.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 25 Nov 2010 23:05:10 +0000
parents 5d7d30110595
children 417b1e4d63cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 # Makefile for the GNU Emacs Lisp Reference Manual.
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 103867
diff changeset
4 # 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
87649
107ccd98fa12 Merge from emacs--rel--22
Miles Bader <miles@gnu.org>
parents: 84114
diff changeset
5 # Free Software Foundation, Inc.
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7 # This file is part of GNU Emacs.
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8
95035
fde6f792a832 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
9 # GNU Emacs is free software: you can redistribute it and/or modify
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10 # it under the terms of the GNU General Public License as published by
95035
fde6f792a832 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
11 # the Free Software Foundation, either version 3 of the License, or
fde6f792a832 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
12 # (at your option) any later version.
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 # GNU Emacs is distributed in the hope that it will be useful,
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17 # GNU General Public License for more details.
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 # You should have received a copy of the GNU General Public License
95035
fde6f792a832 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
20 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
fde6f792a832 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
21
110781
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
22 SHELL = /bin/sh
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24 # Standard configure variables.
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25 srcdir = @srcdir@
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26
110794
bacdf2d96735 Include version number in doc `make dist' tarfiles.
Glenn Morris <rgm@gnu.org>
parents: 110786
diff changeset
27 version=@version@
bacdf2d96735 Include version number in doc `make dist' tarfiles.
Glenn Morris <rgm@gnu.org>
parents: 110786
diff changeset
28
110894
39eed86814a2 Replace use of VPATH in most doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110893
diff changeset
29 infodir = $(srcdir)/../../info
103809
e45ed3bf8f64 (texinfodir): Rename from usermanualdir, and update.
Glenn Morris <rgm@gnu.org>
parents: 100974
diff changeset
30 # Directory with the (customized) texinfo.tex file.
e45ed3bf8f64 (texinfodir): Rename from usermanualdir, and update.
Glenn Morris <rgm@gnu.org>
parents: 100974
diff changeset
31 texinfodir = $(srcdir)/../misc
110863
f537cb2035e9 Set the version number in the texinfo manuals using configure.
Glenn Morris <rgm@gnu.org>
parents: 110861
diff changeset
32 # Directory with emacsver.texi.
f537cb2035e9 Set the version number in the texinfo manuals using configure.
Glenn Morris <rgm@gnu.org>
parents: 110861
diff changeset
33 emacsdir = $(srcdir)/../emacs
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34
110913
1ba912b1a63c Add explicit -I$srcdir to makeinfo in some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110912
diff changeset
35 MAKEINFO = makeinfo --force -I $(emacsdir) -I $(srcdir)
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 TEXI2DVI = texi2dvi
103867
c070113047fe (TEXI2PDF): New.
Glenn Morris <rgm@gnu.org>
parents: 103809
diff changeset
37 TEXI2PDF = texi2pdf
110911
6d7021474f2e Add ps rules for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110894
diff changeset
38 DVIPS = dvips
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 # List of all the texinfo files in the manual:
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 srcs = \
110887
951b5214e939 Use $< in some doc/*/Makefile rules.
Glenn Morris <rgm@gnu.org>
parents: 110886
diff changeset
43 $(srcdir)/elisp.texi \
110866
4b97fee97310 Add doc/ dependencies on emacsver.texi.
Glenn Morris <rgm@gnu.org>
parents: 110863
diff changeset
44 $(emacsdir)/emacsver.texi \
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 $(srcdir)/abbrevs.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 $(srcdir)/advice.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 $(srcdir)/anti.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 $(srcdir)/back.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 $(srcdir)/backups.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 $(srcdir)/buffers.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 $(srcdir)/commands.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 $(srcdir)/compile.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 $(srcdir)/control.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 $(srcdir)/customize.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 $(srcdir)/debugging.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 $(srcdir)/display.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 $(srcdir)/edebug.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 $(srcdir)/errors.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 $(srcdir)/eval.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 $(srcdir)/files.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 $(srcdir)/frames.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 $(srcdir)/functions.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 $(srcdir)/hash.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 $(srcdir)/help.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 $(srcdir)/hooks.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 $(srcdir)/internals.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 $(srcdir)/intro.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 $(srcdir)/keymaps.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 $(srcdir)/lists.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 $(srcdir)/loading.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 $(srcdir)/locals.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 $(srcdir)/macros.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 $(srcdir)/maps.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 $(srcdir)/markers.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 $(srcdir)/minibuf.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 $(srcdir)/modes.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 $(srcdir)/nonascii.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 $(srcdir)/numbers.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 $(srcdir)/objects.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 $(srcdir)/os.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 $(srcdir)/positions.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 $(srcdir)/processes.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 $(srcdir)/searching.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 $(srcdir)/sequences.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 $(srcdir)/streams.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 $(srcdir)/strings.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 $(srcdir)/symbols.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 $(srcdir)/syntax.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 $(srcdir)/text.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 $(srcdir)/tips.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 $(srcdir)/variables.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 $(srcdir)/windows.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 $(srcdir)/index.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 $(srcdir)/gpl.texi \
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 $(srcdir)/doclicense.texi
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96
110894
39eed86814a2 Replace use of VPATH in most doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110893
diff changeset
97 mkinfodir = @test -d ${infodir} || mkdir ${infodir} || test -d ${infodir}
110882
b8bcd2311f78 Avoid having a directory as a prerequisite in doc Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110866
diff changeset
98
110911
6d7021474f2e Add ps rules for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110894
diff changeset
99 .PHONY: info dvi pdf ps
110861
ca28093784c4 Mark some doc/ rules as PHONY.
Glenn Morris <rgm@gnu.org>
parents: 110794
diff changeset
100
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 info: $(infodir)/elisp
110750
cad6890bb825 Minor doc Makefile.in clean-up.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
102 dvi: elisp.dvi
110912
2bfb6bf8a383 Add html targets for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110911
diff changeset
103 html: elisp.html
110750
cad6890bb825 Minor doc Makefile.in clean-up.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
104 pdf: elisp.pdf
110911
6d7021474f2e Add ps rules for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110894
diff changeset
105 ps: elisp.ps
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106
110882
b8bcd2311f78 Avoid having a directory as a prerequisite in doc Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110866
diff changeset
107 $(infodir)/elisp: $(srcs)
b8bcd2311f78 Avoid having a directory as a prerequisite in doc Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110866
diff changeset
108 $(mkinfodir)
110912
2bfb6bf8a383 Add html targets for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110911
diff changeset
109 $(MAKEINFO) -o $@ $<
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 elisp.dvi: $(srcs)
111216
5d7d30110595 doc/Makefile fixes related to inclusion of emacsver.texi.
Glenn Morris <rgm@gnu.org>
parents: 110913
diff changeset
112 $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) -I $(emacsdir) $<
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113
110912
2bfb6bf8a383 Add html targets for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110911
diff changeset
114 elisp.html: $(srcs)
2bfb6bf8a383 Add html targets for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110911
diff changeset
115 $(MAKEINFO) --html -o $@ $<
2bfb6bf8a383 Add html targets for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110911
diff changeset
116
110911
6d7021474f2e Add ps rules for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110894
diff changeset
117 elisp.ps: elisp.dvi
6d7021474f2e Add ps rules for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110894
diff changeset
118 $(DVIPS) -o $@ $<
6d7021474f2e Add ps rules for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110894
diff changeset
119
103867
c070113047fe (TEXI2PDF): New.
Glenn Morris <rgm@gnu.org>
parents: 103809
diff changeset
120 elisp.pdf: $(srcs)
111216
5d7d30110595 doc/Makefile fixes related to inclusion of emacsver.texi.
Glenn Morris <rgm@gnu.org>
parents: 110913
diff changeset
121 $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) -I $(emacsdir) $<
103867
c070113047fe (TEXI2PDF): New.
Glenn Morris <rgm@gnu.org>
parents: 103809
diff changeset
122
110781
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
123 .PHONY: mostlyclean clean distclean maintainer-clean infoclean
110750
cad6890bb825 Minor doc Makefile.in clean-up.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
124
110781
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
125 ## [12] stuff is from two-volume.make.
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
126 mostlyclean:
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
127 rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
128 *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
129 rm -f elisp[12]*
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
130
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
131 clean: mostlyclean
110911
6d7021474f2e Add ps rules for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110894
diff changeset
132 rm -f elisp.dvi elisp.pdf elisp.ps vol[12].pdf
110912
2bfb6bf8a383 Add html targets for some doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110911
diff changeset
133 rm -rf elisp.html
110794
bacdf2d96735 Include version number in doc `make dist' tarfiles.
Glenn Morris <rgm@gnu.org>
parents: 110786
diff changeset
134 rm -f emacs-lispref-${version}.tar*
84044
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136 distclean: clean
21cea89dba82 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137
110781
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
138 infoclean:
110894
39eed86814a2 Replace use of VPATH in most doc/ Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110893
diff changeset
139 -cd $(infodir) && rm -f elisp elisp-[1-9] elisp-[1-9][0-9]
110750
cad6890bb825 Minor doc Makefile.in clean-up.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
140
110781
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
141 maintainer-clean: distclean infoclean
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
142
110861
ca28093784c4 Mark some doc/ rules as PHONY.
Glenn Morris <rgm@gnu.org>
parents: 110794
diff changeset
143 .PHONY: dist
ca28093784c4 Mark some doc/ rules as PHONY.
Glenn Morris <rgm@gnu.org>
parents: 110794
diff changeset
144
110781
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
145 ## Note this excludes the two-volume stuff.
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
146 dist:
110794
bacdf2d96735 Include version number in doc `make dist' tarfiles.
Glenn Morris <rgm@gnu.org>
parents: 110786
diff changeset
147 rm -rf emacs-lispref-${version}
bacdf2d96735 Include version number in doc `make dist' tarfiles.
Glenn Morris <rgm@gnu.org>
parents: 110786
diff changeset
148 mkdir emacs-lispref-${version}
110781
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
149 cp ${srcdir}/*.texi ${texinfodir}/texinfo.tex \
110892
b9b29f64a71c * doc/lispref/Makefile.in (dist): Also copy emacsver.texi, and edit $emacsdir.
Glenn Morris <rgm@gnu.org>
parents: 110891
diff changeset
150 $(emacsdir)/emacsver.texi ${srcdir}/ChangeLog* \
b9b29f64a71c * doc/lispref/Makefile.in (dist): Also copy emacsver.texi, and edit $emacsdir.
Glenn Morris <rgm@gnu.org>
parents: 110891
diff changeset
151 ${srcdir}/README emacs-lispref-${version}/
110893
485f4f9f69bd Anchor regexps in doc/ `make dist' rules.
Glenn Morris <rgm@gnu.org>
parents: 110892
diff changeset
152 sed -e 's/@sr[c]dir@/./' -e 's/^\(texinfodir *=\).*/\1 ./' \
485f4f9f69bd Anchor regexps in doc/ `make dist' rules.
Glenn Morris <rgm@gnu.org>
parents: 110892
diff changeset
153 -e 's/^\(emacsdir *=\).*/\1 ./' \
485f4f9f69bd Anchor regexps in doc/ `make dist' rules.
Glenn Morris <rgm@gnu.org>
parents: 110892
diff changeset
154 -e 's/^\(infodir *=\).*/\1 ./' -e 's/^\(clean:.*\)/\1 infoclean/' \
110794
bacdf2d96735 Include version number in doc `make dist' tarfiles.
Glenn Morris <rgm@gnu.org>
parents: 110786
diff changeset
155 -e "s/@ver[s]ion@/${version}/" \
bacdf2d96735 Include version number in doc `make dist' tarfiles.
Glenn Morris <rgm@gnu.org>
parents: 110786
diff changeset
156 ${srcdir}/Makefile.in > emacs-lispref-${version}/Makefile
bacdf2d96735 Include version number in doc `make dist' tarfiles.
Glenn Morris <rgm@gnu.org>
parents: 110786
diff changeset
157 tar -cf emacs-lispref-${version}.tar emacs-lispref-${version}
bacdf2d96735 Include version number in doc `make dist' tarfiles.
Glenn Morris <rgm@gnu.org>
parents: 110786
diff changeset
158 rm -rf emacs-lispref-${version}
110781
664402ada542 Misc cleanup for doc/*/Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 110751
diff changeset
159
110750
cad6890bb825 Minor doc Makefile.in clean-up.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
160 ### Makefile ends here