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