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