Mercurial > vim
annotate runtime/doc/Makefile @ 17413:40417757dffd v8.1.1705
patch 8.1.1705: using ~{} for a literal dict is not nice
commit https://github.com/vim/vim/commit/4c6d90458baae843463f930fdc3fe4a7a2191d27
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 16 22:04:02 2019 +0200
patch 8.1.1705: using ~{} for a literal dict is not nice
Problem: Using ~{} for a literal dict is not nice.
Solution: Use #{} instead.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Jul 2019 22:15:05 +0200 |
parents | 7d54a66c95d7 |
children | e414281d8bb4 |
rev | line source |
---|---|
7 | 1 # |
2 # Makefile for the Vim documentation on Unix | |
3 # | |
4 # If you get "don't know how to make scratch", first run make in the source | |
5 # directory. Or remove the include below. | |
6 | |
7 AWK = awk | |
8 | |
9 # Set to $(VIMTARGET) when executed from src/Makefile. | |
10 VIMEXE = vim | |
11 | |
12 # include the config.mk from the source directory. It's only needed to set | |
13 # AWK, used for "make html". Comment this out if the include gives problems. | |
14 include ../../src/auto/config.mk | |
15 | |
16 DOCS = \ | |
17 arabic.txt \ | |
18 autocmd.txt \ | |
19 change.txt \ | |
7788
192ae655ac91
commit https://github.com/vim/vim/commit/3b5f929b18492fec291d1ec95a91f54e5912c03b
Christian Brabandt <cb@256bit.org>
parents:
6855
diff
changeset
|
20 channel.txt \ |
7 | 21 cmdline.txt \ |
1619 | 22 debug.txt \ |
7 | 23 debugger.txt \ |
24 develop.txt \ | |
25 diff.txt \ | |
26 digraph.txt \ | |
27 editing.txt \ | |
28 eval.txt \ | |
29 farsi.txt \ | |
30 filetype.txt \ | |
31 fold.txt \ | |
1619 | 32 ft_ada.txt \ |
11229
146a1e213b60
Update runtime files. Add Rust support.
Christian Brabandt <cb@256bit.org>
parents:
8876
diff
changeset
|
33 ft_rust.txt \ |
1619 | 34 ft_sql.txt \ |
7 | 35 gui.txt \ |
36 gui_w32.txt \ | |
37 gui_x11.txt \ | |
38 hangulin.txt \ | |
39 hebrew.txt \ | |
40 help.txt \ | |
2246
1e48f569b03d
Move text from various.txt to a new helphelp.txt help file.
Bram Moolenaar <bram@vim.org>
parents:
1698
diff
changeset
|
41 helphelp.txt \ |
7 | 42 howto.txt \ |
43 if_cscop.txt \ | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2282
diff
changeset
|
44 if_lua.txt \ |
36 | 45 if_mzsch.txt \ |
7 | 46 if_ole.txt \ |
47 if_perl.txt \ | |
48 if_pyth.txt \ | |
49 if_ruby.txt \ | |
50 if_sniff.txt \ | |
51 if_tcl.txt \ | |
52 indent.txt \ | |
53 index.txt \ | |
54 insert.txt \ | |
55 intro.txt \ | |
56 map.txt \ | |
1619 | 57 mbyte.txt \ |
7 | 58 message.txt \ |
1619 | 59 mlang.txt \ |
7 | 60 motion.txt \ |
61 netbeans.txt \ | |
62 options.txt \ | |
63 os_390.txt \ | |
64 os_amiga.txt \ | |
65 os_beos.txt \ | |
66 os_dos.txt \ | |
67 os_mac.txt \ | |
68 os_mint.txt \ | |
69 os_msdos.txt \ | |
70 os_os2.txt \ | |
71 os_qnx.txt \ | |
72 os_risc.txt \ | |
73 os_unix.txt \ | |
74 os_vms.txt \ | |
75 os_win32.txt \ | |
76 pattern.txt \ | |
1120 | 77 pi_getscript.txt \ |
7 | 78 pi_gzip.txt \ |
6855
ee45d3b0579b
Add the logiPat plugin to the distribution.
Bram Moolenaar <bram@vim.org>
parents:
6518
diff
changeset
|
79 pi_logipat.txt \ |
7 | 80 pi_netrw.txt \ |
694 | 81 pi_paren.txt \ |
7 | 82 pi_spec.txt \ |
566 | 83 pi_tar.txt \ |
845 | 84 pi_vimball.txt \ |
566 | 85 pi_zip.txt \ |
16654
7d54a66c95d7
patch 8.1.1329: plans for popup window support are spread out
Bram Moolenaar <Bram@vim.org>
parents:
15138
diff
changeset
|
86 popup.txt \ |
15 | 87 print.txt \ |
7 | 88 quickfix.txt \ |
89 quickref.txt \ | |
90 quotes.txt \ | |
91 recover.txt \ | |
92 remote.txt \ | |
93 repeat.txt \ | |
94 rileft.txt \ | |
95 russian.txt \ | |
96 scroll.txt \ | |
97 sign.txt \ | |
1619 | 98 spell.txt \ |
7 | 99 sponsor.txt \ |
100 starting.txt \ | |
101 syntax.txt \ | |
674 | 102 tabpage.txt \ |
7 | 103 tagsrch.txt \ |
104 term.txt \ | |
11621
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
11229
diff
changeset
|
105 terminal.txt \ |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
12968
diff
changeset
|
106 textprop.txt \ |
7 | 107 tips.txt \ |
108 todo.txt \ | |
109 uganda.txt \ | |
110 undo.txt \ | |
111 usr_01.txt \ | |
112 usr_02.txt \ | |
113 usr_03.txt \ | |
114 usr_04.txt \ | |
115 usr_05.txt \ | |
116 usr_06.txt \ | |
117 usr_07.txt \ | |
118 usr_08.txt \ | |
119 usr_09.txt \ | |
120 usr_10.txt \ | |
121 usr_11.txt \ | |
122 usr_12.txt \ | |
123 usr_20.txt \ | |
124 usr_21.txt \ | |
125 usr_22.txt \ | |
126 usr_23.txt \ | |
127 usr_24.txt \ | |
128 usr_25.txt \ | |
129 usr_26.txt \ | |
130 usr_27.txt \ | |
131 usr_28.txt \ | |
132 usr_29.txt \ | |
133 usr_30.txt \ | |
134 usr_31.txt \ | |
799 | 135 usr_32.txt \ |
7 | 136 usr_40.txt \ |
137 usr_41.txt \ | |
138 usr_42.txt \ | |
139 usr_43.txt \ | |
140 usr_44.txt \ | |
141 usr_45.txt \ | |
142 usr_90.txt \ | |
143 usr_toc.txt \ | |
144 various.txt \ | |
145 version4.txt \ | |
146 version5.txt \ | |
147 version6.txt \ | |
15 | 148 version7.txt \ |
8876
47f17f66da3d
commit https://github.com/vim/vim/commit/03413f44167c4b5cd0012def9bb331e2518c83cf
Christian Brabandt <cb@256bit.org>
parents:
8188
diff
changeset
|
149 version8.txt \ |
7 | 150 vi_diff.txt \ |
151 visual.txt \ | |
152 windows.txt \ | |
153 workshop.txt | |
154 | |
155 HTMLS = \ | |
156 arabic.html \ | |
157 autocmd.html \ | |
158 change.html \ | |
7788
192ae655ac91
commit https://github.com/vim/vim/commit/3b5f929b18492fec291d1ec95a91f54e5912c03b
Christian Brabandt <cb@256bit.org>
parents:
6855
diff
changeset
|
159 channel.html \ |
7 | 160 cmdline.html \ |
502 | 161 debug.html \ |
7 | 162 debugger.html \ |
163 develop.html \ | |
164 diff.html \ | |
165 digraph.html \ | |
166 editing.html \ | |
167 eval.html \ | |
168 farsi.html \ | |
169 filetype.html \ | |
170 fold.html \ | |
1619 | 171 ft_ada.html \ |
11229
146a1e213b60
Update runtime files. Add Rust support.
Christian Brabandt <cb@256bit.org>
parents:
8876
diff
changeset
|
172 ft_rust.html \ |
1619 | 173 ft_sql.html \ |
7 | 174 gui.html \ |
175 gui_w32.html \ | |
176 gui_x11.html \ | |
177 hangulin.html \ | |
178 hebrew.html \ | |
2282
a888ed7ba375
Make updating text for conceal mode simpler. A few compiler warning fixes.
Bram Moolenaar <bram@vim.org>
parents:
2246
diff
changeset
|
179 helphelp.html \ |
7 | 180 howto.html \ |
181 if_cscop.html \ | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2282
diff
changeset
|
182 if_lua.html \ |
36 | 183 if_mzsch.html \ |
7 | 184 if_ole.html \ |
185 if_perl.html \ | |
186 if_pyth.html \ | |
187 if_ruby.html \ | |
188 if_sniff.html \ | |
189 if_tcl.html \ | |
190 indent.html \ | |
191 index.html \ | |
192 insert.html \ | |
193 intro.html \ | |
194 map.html \ | |
1619 | 195 mbyte.html \ |
7 | 196 message.html \ |
1619 | 197 mlang.html \ |
7 | 198 motion.html \ |
199 netbeans.html \ | |
200 options.html \ | |
201 os_390.html \ | |
202 os_amiga.html \ | |
203 os_beos.html \ | |
204 os_dos.html \ | |
205 os_mac.html \ | |
206 os_mint.html \ | |
207 os_msdos.html \ | |
208 os_os2.html \ | |
209 os_qnx.html \ | |
210 os_risc.html \ | |
211 os_unix.html \ | |
212 os_vms.html \ | |
213 os_win32.html \ | |
214 pattern.html \ | |
1120 | 215 pi_getscript.html \ |
7 | 216 pi_gzip.html \ |
6855
ee45d3b0579b
Add the logiPat plugin to the distribution.
Bram Moolenaar <bram@vim.org>
parents:
6518
diff
changeset
|
217 pi_logipat.html \ |
7 | 218 pi_netrw.html \ |
694 | 219 pi_paren.html \ |
7 | 220 pi_spec.html \ |
845 | 221 pi_tar.html \ |
222 pi_vimball.html \ | |
223 pi_zip.html \ | |
16654
7d54a66c95d7
patch 8.1.1329: plans for popup window support are spread out
Bram Moolenaar <Bram@vim.org>
parents:
15138
diff
changeset
|
224 popup.html \ |
15 | 225 print.html \ |
7 | 226 quickfix.html \ |
227 quickref.html \ | |
228 quotes.html \ | |
229 recover.html \ | |
230 remote.html \ | |
231 repeat.html \ | |
232 rileft.html \ | |
233 russian.html \ | |
234 scroll.html \ | |
235 sign.html \ | |
1619 | 236 spell.html \ |
7 | 237 sponsor.html \ |
238 starting.html \ | |
239 syntax.html \ | |
674 | 240 tabpage.html \ |
7 | 241 tagsrch.html \ |
242 term.html \ | |
11621
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
11229
diff
changeset
|
243 terminal.html \ |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
12968
diff
changeset
|
244 textprop.html \ |
7 | 245 tips.html \ |
246 todo.html \ | |
247 uganda.html \ | |
248 undo.html \ | |
249 usr_01.html \ | |
250 usr_02.html \ | |
251 usr_03.html \ | |
252 usr_04.html \ | |
253 usr_05.html \ | |
254 usr_06.html \ | |
255 usr_07.html \ | |
256 usr_08.html \ | |
257 usr_09.html \ | |
258 usr_10.html \ | |
259 usr_11.html \ | |
260 usr_12.html \ | |
261 usr_20.html \ | |
262 usr_21.html \ | |
263 usr_22.html \ | |
264 usr_23.html \ | |
265 usr_24.html \ | |
266 usr_25.html \ | |
267 usr_26.html \ | |
268 usr_27.html \ | |
269 usr_28.html \ | |
270 usr_29.html \ | |
271 usr_30.html \ | |
272 usr_31.html \ | |
799 | 273 usr_32.html \ |
7 | 274 usr_40.html \ |
275 usr_41.html \ | |
276 usr_42.html \ | |
277 usr_43.html \ | |
278 usr_44.html \ | |
279 usr_45.html \ | |
280 usr_90.html \ | |
281 usr_toc.html \ | |
282 various.html \ | |
283 version4.html \ | |
284 version5.html \ | |
285 version6.html \ | |
15 | 286 version7.html \ |
8876
47f17f66da3d
commit https://github.com/vim/vim/commit/03413f44167c4b5cd0012def9bb331e2518c83cf
Christian Brabandt <cb@256bit.org>
parents:
8188
diff
changeset
|
287 version8.html \ |
7 | 288 vi_diff.html \ |
1619 | 289 vimindex.html \ |
7 | 290 visual.html \ |
291 windows.html \ | |
292 workshop.html | |
293 | |
216 | 294 CONVERTED = \ |
236 | 295 vim-fr.UTF-8.1 \ |
296 evim-fr.UTF-8.1 \ | |
297 vimdiff-fr.UTF-8.1 \ | |
298 vimtutor-fr.UTF-8.1 \ | |
299 xxd-fr.UTF-8.1 \ | |
216 | 300 vim-it.UTF-8.1 \ |
301 evim-it.UTF-8.1 \ | |
302 vimdiff-it.UTF-8.1 \ | |
303 vimtutor-it.UTF-8.1 \ | |
304 xxd-it.UTF-8.1 \ | |
1698 | 305 vim-pl.UTF-8.1 \ |
306 evim-pl.UTF-8.1 \ | |
307 vimdiff-pl.UTF-8.1 \ | |
308 vimtutor-pl.UTF-8.1 \ | |
309 xxd-pl.UTF-8.1 \ | |
216 | 310 vim-ru.UTF-8.1 \ |
311 evim-ru.UTF-8.1 \ | |
312 vimdiff-ru.UTF-8.1 \ | |
313 vimtutor-ru.UTF-8.1 \ | |
1619 | 314 xxd-ru.UTF-8.1 |
216 | 315 |
7 | 316 .SUFFIXES: |
317 .SUFFIXES: .c .o .txt .html | |
318 | |
1698 | 319 all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED) |
7 | 320 |
321 # Use Vim to generate the tags file. Can only be used when Vim has been | |
322 # compiled and installed. Supports multiple languages. | |
323 vimtags: $(DOCS) | |
1502 | 324 $(VIMEXE) -u NONE -esX -c "helptags ++t ." -c quit |
7 | 325 |
326 # Use "doctags" to generate the tags file. Only works for English! | |
327 tags: doctags $(DOCS) | |
328 ./doctags $(DOCS) | LANG=C LC_ALL=C sort >tags | |
329 uniq -d -2 tags | |
330 | |
331 doctags: doctags.c | |
332 $(CC) doctags.c -o doctags | |
333 | |
334 vim.man: vim.1 | |
335 nroff -man vim.1 | sed -e s/.//g > vim.man | |
336 | |
1698 | 337 evim.man: evim.1 |
338 nroff -man evim.1 | sed -e s/.//g > evim.man | |
339 | |
7 | 340 vimdiff.man: vimdiff.1 |
341 nroff -man vimdiff.1 | sed -e s/.//g > vimdiff.man | |
342 | |
343 vimtutor.man: vimtutor.1 | |
344 nroff -man vimtutor.1 | sed -e s/.//g > vimtutor.man | |
345 | |
346 xxd.man: xxd.1 | |
347 nroff -man xxd.1 | sed -e s/.//g > xxd.man | |
348 | |
349 uganda.nsis.txt: uganda.txt | |
12849
de80fb313baf
patch 8.0.1301: generated license file for NSIS has a modeline
Christian Brabandt <cb@256bit.org>
parents:
11621
diff
changeset
|
350 sed -e 's/[ ]*\*[-a-zA-Z0-9.]*\*//g' -e 's/vim:tw=78:.*//' \ |
7 | 351 uganda.txt | uniq >uganda.nsis.txt |
352 | |
353 # Awk version of .txt to .html conversion. | |
2369
435b5c6a5191
Fix dependencies in help Makefile. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
354 html: noerrors tags $(HTMLS) |
7 | 355 @if test -f errors.log; then more errors.log; fi |
356 | |
357 noerrors: | |
358 -rm -f errors.log | |
359 | |
2369
435b5c6a5191
Fix dependencies in help Makefile. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
360 $(HTMLS): tags.ref |
435b5c6a5191
Fix dependencies in help Makefile. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
361 |
7 | 362 .txt.html: |
363 $(AWK) -f makehtml.awk $< >$@ | |
364 | |
788 | 365 # index.html is the starting point for HTML, but for the help files it is |
366 # help.txt. Therefore use vimindex.html for index.txt. | |
367 index.html: help.txt | |
368 $(AWK) -f makehtml.awk help.txt >index.html | |
369 | |
370 vimindex.html: index.txt | |
371 $(AWK) -f makehtml.awk index.txt >vimindex.html | |
372 | |
7 | 373 tags.ref tags.html: tags |
374 $(AWK) -f maketags.awk tags >tags.html | |
375 | |
376 # Perl version of .txt to .html conversion. | |
377 # There can't be two rules to produce a .html from a .txt file. | |
378 # Just run over all .txt files each time one changes. It's fast anyway. | |
379 perlhtml: tags $(DOCS) | |
380 ./vim2html.pl tags $(DOCS) | |
381 | |
12968 | 382 # Check URLs in the help with "curl". |
383 test_urls: | |
384 vim -S test_urls.vim | |
385 | |
7 | 386 clean: |
387 -rm doctags *.html tags.ref | |
388 | |
389 # These files are in the extra archive, skip if not present | |
390 | |
391 arabic.txt: | |
392 touch arabic.txt | |
393 | |
394 farsi.txt: | |
395 touch farsi.txt | |
396 | |
397 hebrew.txt: | |
398 touch hebrew.txt | |
399 | |
400 russian.txt: | |
401 touch russian.txt | |
402 | |
403 gui_w32.txt: | |
404 touch gui_w32.txt | |
405 | |
406 if_ole.txt: | |
407 touch if_ole.txt | |
408 | |
409 os_390.txt: | |
410 touch os_390.txt | |
411 | |
412 os_amiga.txt: | |
413 touch os_amiga.txt | |
414 | |
415 os_beos.txt: | |
416 touch os_beos.txt | |
417 | |
418 os_dos.txt: | |
419 touch os_dos.txt | |
420 | |
421 os_mac.txt: | |
422 touch os_mac.txt | |
423 | |
424 os_mint.txt: | |
425 touch os_mint.txt | |
426 | |
427 os_msdos.txt: | |
428 touch os_msdos.txt | |
429 | |
430 os_os2.txt: | |
431 touch os_os2.txt | |
432 | |
433 os_qnx.txt: | |
434 touch os_qnx.txt | |
435 | |
436 os_risc.txt: | |
437 touch os_risc.txt | |
438 | |
439 os_win32.txt: | |
440 touch os_win32.txt | |
216 | 441 |
701 | 442 # Note that $< works with GNU make while $> works for BSD make. |
810 | 443 # Is there a solution that works for both?? |
236 | 444 vim-fr.UTF-8.1: vim-fr.1 |
445 iconv -f latin1 -t utf-8 $< >$@ | |
446 | |
447 evim-fr.UTF-8.1: evim-fr.1 | |
448 iconv -f latin1 -t utf-8 $< >$@ | |
449 | |
450 vimdiff-fr.UTF-8.1: vimdiff-fr.1 | |
451 iconv -f latin1 -t utf-8 $< >$@ | |
452 | |
453 vimtutor-fr.UTF-8.1: vimtutor-fr.1 | |
454 iconv -f latin1 -t utf-8 $< >$@ | |
455 | |
456 xxd-fr.UTF-8.1: xxd-fr.1 | |
457 iconv -f latin1 -t utf-8 $< >$@ | |
458 | |
216 | 459 vim-it.UTF-8.1: vim-it.1 |
236 | 460 iconv -f latin1 -t utf-8 $< >$@ |
216 | 461 |
462 evim-it.UTF-8.1: evim-it.1 | |
236 | 463 iconv -f latin1 -t utf-8 $< >$@ |
216 | 464 |
465 vimdiff-it.UTF-8.1: vimdiff-it.1 | |
236 | 466 iconv -f latin1 -t utf-8 $< >$@ |
216 | 467 |
468 vimtutor-it.UTF-8.1: vimtutor-it.1 | |
236 | 469 iconv -f latin1 -t utf-8 $< >$@ |
216 | 470 |
471 xxd-it.UTF-8.1: xxd-it.1 | |
236 | 472 iconv -f latin1 -t utf-8 $< >$@ |
216 | 473 |
1698 | 474 vim-pl.UTF-8.1: vim-pl.1 |
475 iconv -f latin2 -t utf-8 $< >$@ | |
476 | |
477 evim-pl.UTF-8.1: evim-pl.1 | |
478 iconv -f latin2 -t utf-8 $< >$@ | |
479 | |
480 vimdiff-pl.UTF-8.1: vimdiff-pl.1 | |
481 iconv -f latin2 -t utf-8 $< >$@ | |
482 | |
483 vimtutor-pl.UTF-8.1: vimtutor-pl.1 | |
484 iconv -f latin2 -t utf-8 $< >$@ | |
485 | |
486 xxd-pl.UTF-8.1: xxd-pl.1 | |
487 iconv -f latin2 -t utf-8 $< >$@ | |
488 | |
216 | 489 vim-ru.UTF-8.1: vim-ru.1 |
236 | 490 iconv -f KOI8-R -t utf-8 $< >$@ |
216 | 491 |
492 evim-ru.UTF-8.1: evim-ru.1 | |
236 | 493 iconv -f KOI8-R -t utf-8 $< >$@ |
216 | 494 |
495 vimdiff-ru.UTF-8.1: vimdiff-ru.1 | |
236 | 496 iconv -f KOI8-R -t utf-8 $< >$@ |
216 | 497 |
498 vimtutor-ru.UTF-8.1: vimtutor-ru.1 | |
236 | 499 iconv -f KOI8-R -t utf-8 $< >$@ |
216 | 500 |
501 xxd-ru.UTF-8.1: xxd-ru.1 | |
236 | 502 iconv -f KOI8-R -t utf-8 $< >$@ |