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