aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2013-08-27 21:37:13 -0400
committerStefan Monnier2013-08-27 21:37:13 -0400
commit0acfedd3496a4a375c27215d13bf63466fdb1071 (patch)
tree811bd6dc3ff22979e8836cd9b0cb4f483a739a4f
parent95888bca5db8d05e3a23a2288d2ec0775a429e2b (diff)
downloademacs-0acfedd3496a4a375c27215d13bf63466fdb1071.tar.gz
emacs-0acfedd3496a4a375c27215d13bf63466fdb1071.zip
Try to reduce redundancy in doc/misc/Makefile.in.
* configure.ac (DOCMISC_W32): New var to replace DOCMISC_*_W32. * doc/misc/Makefile.in (DOCMISC_W32): New var to replace DOCMISC_*_W32. (TARGETS): New intermediate variable. (DVI_TARGETS, HTML_TARGETS, PDF_TARGETS, PS_TARGETS): Use it.
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac20
-rw-r--r--doc/misc/ChangeLog7
-rw-r--r--doc/misc/Makefile.in246
4 files changed, 25 insertions, 252 deletions
diff --git a/ChangeLog b/ChangeLog
index e8504062dc3..d99187ccf95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * configure.ac (DOCMISC_W32): New var to replace DOCMISC_*_W32.
4
12013-08-27 Paul Eggert <eggert@cs.ucla.edu> 52013-08-27 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 Simplify EMACS_TIME-related code. 7 Simplify EMACS_TIME-related code.
diff --git a/configure.ac b/configure.ac
index adae13e45d3..43c78eb2ebc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -998,23 +998,11 @@ AC_SUBST(INFO_EXT)
998AC_SUBST(INFO_OPTS) 998AC_SUBST(INFO_OPTS)
999 999
1000if test $opsys = mingw32; then 1000if test $opsys = mingw32; then
1001 DOCMISC_DVI_W32=efaq-w32.dvi 1001 DOCMISC_W32=efaq-w32
1002 DOCMISC_HTML_W32=efaq-w32.html
1003 DOCMISC_INFO_W32=efaq-w32
1004 DOCMISC_PDF_W32=efaq-w32.pdf
1005 DOCMISC_PS_W32=efaq-w32.ps
1006else 1002else
1007 DOCMISC_DVI_W32= 1003 DOCMISC_W32=
1008 DOCMISC_HTML_W32= 1004fi
1009 DOCMISC_INFO_W32= 1005AC_SUBST(DOCMISC_W32)
1010 DOCMISC_PDF_W32=
1011 DOCMISC_PS_W32=
1012fi
1013AC_SUBST(DOCMISC_DVI_W32)
1014AC_SUBST(DOCMISC_HTML_W32)
1015AC_SUBST(DOCMISC_INFO_W32)
1016AC_SUBST(DOCMISC_PDF_W32)
1017AC_SUBST(DOCMISC_PS_W32)
1018 1006
1019dnl Add our options to ac_link now, after it is set up. 1007dnl Add our options to ac_link now, after it is set up.
1020 1008
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 13851514c15..c08de7e4a59 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,10 @@
12013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Try to reduce redundancy in doc/misc/Makefile.in.
4 * Makefile.in (DOCMISC_W32): New var to replace DOCMISC_*_W32.
5 (TARGETS): New intermediate variable.
6 (DVI_TARGETS, HTML_TARGETS, PDF_TARGETS, PS_TARGETS): Use it.
7
12013-08-27 Glenn Morris <rgm@gnu.org> 82013-08-27 Glenn Morris <rgm@gnu.org>
2 9
3 * efaq.texi (Emacs for MS-Windows): Update location of MS FAQ. 10 * efaq.texi (Emacs for MS-Windows): Update location of MS FAQ.
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
index 0ae1edf7069..0c2b48aa67e 100644
--- a/doc/misc/Makefile.in
+++ b/doc/misc/Makefile.in
@@ -60,11 +60,7 @@ MAKEINFO = @MAKEINFO@
60MAKEINFO_OPTS = --force -I$(emacsdir) 60MAKEINFO_OPTS = --force -I$(emacsdir)
61 61
62## On MS Windows, efaq-w32; otherwise blank. 62## On MS Windows, efaq-w32; otherwise blank.
63DOCMISC_DVI_W32 = @DOCMISC_DVI_W32@ 63DOCMISC_W32 = @DOCMISC_W32@
64DOCMISC_HTML_W32 = @DOCMISC_HTML_W32@
65DOCMISC_INFO_W32 = @DOCMISC_INFO_W32@
66DOCMISC_PDF_W32 = @DOCMISC_PDF_W32@
67DOCMISC_PS_W32 = @DOCMISC_PS_W32@
68 64
69## Info files to build and install on all platforms. 65## Info files to build and install on all platforms.
70INFO_COMMON = ada-mode auth autotype bovine calc ccmode cl \ 66INFO_COMMON = ada-mode auth autotype bovine calc ccmode cl \
@@ -84,237 +80,15 @@ INFO_INSTALL = $(INFO_COMMON) $(DOCMISC_INFO_W32)
84## because the info files are pre-built in release tarfiles. 80## because the info files are pre-built in release tarfiles.
85INFO_TARGETS = $(INFO_COMMON) efaq-w32 81INFO_TARGETS = $(INFO_COMMON) efaq-w32
86 82
87DVI_TARGETS = $(DOCMISC_DVI_W32) \ 83# There are some naming differences between the info targets and the other
88 ada-mode.dvi \ 84# targets, so let's resolve them here.
89 auth.dvi \ 85TARGETS_1 = $(INFO_INSTALL:ccmode=cc-mode)
90 autotype.dvi \ 86TARGETS = $(TARGETS_1:info.info=info)
91 bovine.dvi \ 87
92 calc.dvi \ 88DVI_TARGETS = $(TARGETS:=.dvi)
93 cc-mode.dvi \ 89HTML_TARGETS = $(TARGETS:=.html)
94 cl.dvi \ 90PDF_TARGETS = $(TARGETS:=.pdf)
95 dbus.dvi \ 91PS_TARGETS = $(TARGETS:=.ps)
96 dired-x.dvi \
97 ebrowse.dvi \
98 ede.dvi \
99 ediff.dvi \
100 edt.dvi \
101 efaq.dvi \
102 eieio.dvi \
103 emacs-mime.dvi \
104 epa.dvi \
105 erc.dvi \
106 ert.dvi \
107 eshell.dvi \
108 eudc.dvi \
109 flymake.dvi \
110 forms.dvi \
111 gnus.dvi \
112 emacs-gnutls.dvi \
113 htmlfontify.dvi \
114 idlwave.dvi \
115 ido.dvi \
116 info.dvi \
117 mairix-el.dvi \
118 message.dvi \
119 mh-e.dvi \
120 newsticker.dvi \
121 nxml-mode.dvi \
122 org.dvi \
123 pcl-cvs.dvi \
124 pgg.dvi \
125 rcirc.dvi \
126 reftex.dvi \
127 remember.dvi \
128 sasl.dvi \
129 sc.dvi \
130 semantic.dvi \
131 ses.dvi \
132 sieve.dvi \
133 smtpmail.dvi \
134 speedbar.dvi \
135 srecode.dvi \
136 todo-mode.dvi \
137 tramp.dvi \
138 url.dvi \
139 vip.dvi \
140 viper.dvi \
141 widget.dvi \
142 wisent.dvi \
143 woman.dvi
144
145HTML_TARGETS = $(DOCMISC_HTML_W32) \
146 ada-mode.html \
147 auth.html \
148 autotype.html \
149 bovine.html \
150 calc.html \
151 cc-mode.html \
152 cl.html \
153 dbus.html \
154 dired-x.html \
155 ebrowse.html \
156 ede.html \
157 ediff.html \
158 edt.html \
159 efaq.html \
160 eieio.html \
161 emacs-mime.html \
162 epa.html \
163 erc.html \
164 ert.html \
165 eshell.html \
166 eudc.html \
167 flymake.html \
168 forms.html \
169 gnus.html \
170 emacs-gnutls.html \
171 htmlfontify.html \
172 idlwave.html \
173 ido.html \
174 info.html \
175 mairix-el.html \
176 message.html \
177 mh-e.html \
178 newsticker.html \
179 nxml-mode.html \
180 org.html \
181 pcl-cvs.html \
182 pgg.html \
183 rcirc.html \
184 reftex.html \
185 remember.html \
186 sasl.html \
187 sc.html \
188 semantic.html \
189 ses.html \
190 sieve.html \
191 smtpmail.html \
192 speedbar.html \
193 srecode.html \
194 todo-mode.html \
195 tramp.html \
196 url.html \
197 vip.html \
198 viper.html \
199 widget.html \
200 wisent.html \
201 woman.html
202
203PDF_TARGETS = $(DOCMISC_PDF_W32) \
204 ada-mode.pdf \
205 auth.pdf \
206 autotype.pdf \
207 bovine.pdf \
208 calc.pdf \
209 cc-mode.pdf \
210 cl.pdf \
211 dbus.pdf \
212 dired-x.pdf \
213 ebrowse.pdf \
214 ede.pdf \
215 ediff.pdf \
216 edt.pdf \
217 efaq.pdf \
218 eieio.pdf \
219 emacs-mime.pdf \
220 epa.pdf \
221 erc.pdf \
222 ert.pdf \
223 eshell.pdf \
224 eudc.pdf \
225 flymake.pdf \
226 forms.pdf \
227 gnus.pdf \
228 htmlfontify.pdf \
229 emacs-gnutls.pdf \
230 idlwave.pdf \
231 ido.pdf \
232 info.pdf \
233 mairix-el.pdf \
234 message.pdf \
235 mh-e.pdf \
236 newsticker.pdf \
237 nxml-mode.pdf \
238 org.pdf \
239 pcl-cvs.pdf \
240 pgg.pdf \
241 rcirc.pdf \
242 reftex.pdf \
243 remember.pdf \
244 sasl.pdf \
245 sc.pdf \
246 semantic.pdf \
247 ses.pdf \
248 sieve.pdf \
249 smtpmail.pdf \
250 speedbar.pdf \
251 srecode.pdf \
252 todo-mode.pdf \
253 tramp.pdf \
254 url.pdf \
255 vip.pdf \
256 viper.pdf \
257 widget.pdf \
258 wisent.pdf \
259 woman.pdf
260
261PS_TARGETS = $(DOCMISC_PS_W32) \
262 ada-mode.ps \
263 auth.ps \
264 autotype.ps \
265 bovine.ps \
266 calc.ps \
267 cc-mode.ps \
268 cl.ps \
269 dbus.ps \
270 dired-x.ps \
271 ebrowse.ps \
272 ede.ps \
273 ediff.ps \
274 edt.ps \
275 efaq.ps \
276 eieio.ps \
277 emacs-mime.ps \
278 epa.ps \
279 erc.ps \
280 ert.ps \
281 eshell.ps \
282 eudc.ps \
283 flymake.ps \
284 forms.ps \
285 gnus.ps \
286 htmlfontify.ps \
287 emacs-gnutls.ps \
288 idlwave.ps \
289 ido.ps \
290 info.ps \
291 mairix-el.ps \
292 message.ps \
293 mh-e.ps \
294 newsticker.ps \
295 nxml-mode.ps \
296 org.ps \
297 pcl-cvs.ps \
298 pgg.ps \
299 rcirc.ps \
300 reftex.ps \
301 remember.ps \
302 sasl.ps \
303 sc.ps \
304 semantic.ps \
305 ses.ps \
306 sieve.ps \
307 smtpmail.ps \
308 speedbar.ps \
309 srecode.ps \
310 todo-mode.ps \
311 tramp.ps \
312 url.ps \
313 vip.ps \
314 viper.ps \
315 widget.ps \
316 wisent.ps \
317 woman.ps
318 92
319TEXI2DVI = texi2dvi 93TEXI2DVI = texi2dvi
320TEXI2PDF = texi2pdf 94TEXI2PDF = texi2pdf