Mercurial > vim
annotate runtime/doc/Makefile @ 10492:b2cd5a71f4bb v8.0.0139
commit https://github.com/vim/vim/commit/5e1e6d265d26ee2952c4a018a5ff72c950d2d700
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 2 17:26:00 2017 +0100
patch 8.0.0139
Problem: Warning for unused argument.
Solution: Add UNUSED.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 02 Jan 2017 17:30:04 +0100 |
parents | 47f17f66da3d |
children | 146a1e213b60 |
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 \ |
33 ft_sql.txt \ | |
7 | 34 gui.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 \ |
8876
47f17f66da3d
commit https://github.com/vim/vim/commit/03413f44167c4b5cd0012def9bb331e2518c83cf
Christian Brabandt <cb@256bit.org>
parents:
8188
diff
changeset
|
145 version8.txt \ |
7 | 146 vi_diff.txt \ |
147 visual.txt \ | |
148 windows.txt \ | |
149 workshop.txt | |
150 | |
151 HTMLS = \ | |
152 arabic.html \ | |
153 autocmd.html \ | |
154 change.html \ | |
7788
192ae655ac91
commit https://github.com/vim/vim/commit/3b5f929b18492fec291d1ec95a91f54e5912c03b
Christian Brabandt <cb@256bit.org>
parents:
6855
diff
changeset
|
155 channel.html \ |
7 | 156 cmdline.html \ |
502 | 157 debug.html \ |
7 | 158 debugger.html \ |
159 develop.html \ | |
160 diff.html \ | |
161 digraph.html \ | |
162 editing.html \ | |
163 eval.html \ | |
164 farsi.html \ | |
165 filetype.html \ | |
166 fold.html \ | |
1619 | 167 ft_ada.html \ |
168 ft_sql.html \ | |
7 | 169 gui.html \ |
170 gui_w32.html \ | |
171 gui_x11.html \ | |
172 hangulin.html \ | |
173 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
|
174 helphelp.html \ |
7 | 175 howto.html \ |
176 if_cscop.html \ | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2282
diff
changeset
|
177 if_lua.html \ |
36 | 178 if_mzsch.html \ |
7 | 179 if_ole.html \ |
180 if_perl.html \ | |
181 if_pyth.html \ | |
182 if_ruby.html \ | |
183 if_sniff.html \ | |
184 if_tcl.html \ | |
185 indent.html \ | |
186 index.html \ | |
187 insert.html \ | |
188 intro.html \ | |
189 map.html \ | |
1619 | 190 mbyte.html \ |
7 | 191 message.html \ |
1619 | 192 mlang.html \ |
7 | 193 motion.html \ |
194 netbeans.html \ | |
195 options.html \ | |
196 os_390.html \ | |
197 os_amiga.html \ | |
198 os_beos.html \ | |
199 os_dos.html \ | |
200 os_mac.html \ | |
201 os_mint.html \ | |
202 os_msdos.html \ | |
203 os_os2.html \ | |
204 os_qnx.html \ | |
205 os_risc.html \ | |
206 os_unix.html \ | |
207 os_vms.html \ | |
208 os_win32.html \ | |
209 pattern.html \ | |
1120 | 210 pi_getscript.html \ |
7 | 211 pi_gzip.html \ |
6855
ee45d3b0579b
Add the logiPat plugin to the distribution.
Bram Moolenaar <bram@vim.org>
parents:
6518
diff
changeset
|
212 pi_logipat.html \ |
7 | 213 pi_netrw.html \ |
694 | 214 pi_paren.html \ |
7 | 215 pi_spec.html \ |
845 | 216 pi_tar.html \ |
217 pi_vimball.html \ | |
218 pi_zip.html \ | |
15 | 219 print.html \ |
7 | 220 quickfix.html \ |
221 quickref.html \ | |
222 quotes.html \ | |
223 recover.html \ | |
224 remote.html \ | |
225 repeat.html \ | |
226 rileft.html \ | |
227 russian.html \ | |
228 scroll.html \ | |
229 sign.html \ | |
1619 | 230 spell.html \ |
7 | 231 sponsor.html \ |
232 starting.html \ | |
233 syntax.html \ | |
674 | 234 tabpage.html \ |
7 | 235 tagsrch.html \ |
236 term.html \ | |
237 tips.html \ | |
238 todo.html \ | |
239 uganda.html \ | |
240 undo.html \ | |
241 usr_01.html \ | |
242 usr_02.html \ | |
243 usr_03.html \ | |
244 usr_04.html \ | |
245 usr_05.html \ | |
246 usr_06.html \ | |
247 usr_07.html \ | |
248 usr_08.html \ | |
249 usr_09.html \ | |
250 usr_10.html \ | |
251 usr_11.html \ | |
252 usr_12.html \ | |
253 usr_20.html \ | |
254 usr_21.html \ | |
255 usr_22.html \ | |
256 usr_23.html \ | |
257 usr_24.html \ | |
258 usr_25.html \ | |
259 usr_26.html \ | |
260 usr_27.html \ | |
261 usr_28.html \ | |
262 usr_29.html \ | |
263 usr_30.html \ | |
264 usr_31.html \ | |
799 | 265 usr_32.html \ |
7 | 266 usr_40.html \ |
267 usr_41.html \ | |
268 usr_42.html \ | |
269 usr_43.html \ | |
270 usr_44.html \ | |
271 usr_45.html \ | |
272 usr_90.html \ | |
273 usr_toc.html \ | |
274 various.html \ | |
275 version4.html \ | |
276 version5.html \ | |
277 version6.html \ | |
15 | 278 version7.html \ |
8876
47f17f66da3d
commit https://github.com/vim/vim/commit/03413f44167c4b5cd0012def9bb331e2518c83cf
Christian Brabandt <cb@256bit.org>
parents:
8188
diff
changeset
|
279 version8.html \ |
7 | 280 vi_diff.html \ |
1619 | 281 vimindex.html \ |
7 | 282 visual.html \ |
283 windows.html \ | |
284 workshop.html | |
285 | |
216 | 286 CONVERTED = \ |
236 | 287 vim-fr.UTF-8.1 \ |
288 evim-fr.UTF-8.1 \ | |
289 vimdiff-fr.UTF-8.1 \ | |
290 vimtutor-fr.UTF-8.1 \ | |
291 xxd-fr.UTF-8.1 \ | |
216 | 292 vim-it.UTF-8.1 \ |
293 evim-it.UTF-8.1 \ | |
294 vimdiff-it.UTF-8.1 \ | |
295 vimtutor-it.UTF-8.1 \ | |
296 xxd-it.UTF-8.1 \ | |
1698 | 297 vim-pl.UTF-8.1 \ |
298 evim-pl.UTF-8.1 \ | |
299 vimdiff-pl.UTF-8.1 \ | |
300 vimtutor-pl.UTF-8.1 \ | |
301 xxd-pl.UTF-8.1 \ | |
216 | 302 vim-ru.UTF-8.1 \ |
303 evim-ru.UTF-8.1 \ | |
304 vimdiff-ru.UTF-8.1 \ | |
305 vimtutor-ru.UTF-8.1 \ | |
1619 | 306 xxd-ru.UTF-8.1 |
216 | 307 |
7 | 308 .SUFFIXES: |
309 .SUFFIXES: .c .o .txt .html | |
310 | |
1698 | 311 all: tags vim.man evim.man vimdiff.man vimtutor.man xxd.man $(CONVERTED) |
7 | 312 |
313 # Use Vim to generate the tags file. Can only be used when Vim has been | |
314 # compiled and installed. Supports multiple languages. | |
315 vimtags: $(DOCS) | |
1502 | 316 $(VIMEXE) -u NONE -esX -c "helptags ++t ." -c quit |
7 | 317 |
318 # Use "doctags" to generate the tags file. Only works for English! | |
319 tags: doctags $(DOCS) | |
320 ./doctags $(DOCS) | LANG=C LC_ALL=C sort >tags | |
321 uniq -d -2 tags | |
322 | |
323 doctags: doctags.c | |
324 $(CC) doctags.c -o doctags | |
325 | |
326 vim.man: vim.1 | |
327 nroff -man vim.1 | sed -e s/.//g > vim.man | |
328 | |
1698 | 329 evim.man: evim.1 |
330 nroff -man evim.1 | sed -e s/.//g > evim.man | |
331 | |
7 | 332 vimdiff.man: vimdiff.1 |
333 nroff -man vimdiff.1 | sed -e s/.//g > vimdiff.man | |
334 | |
335 vimtutor.man: vimtutor.1 | |
336 nroff -man vimtutor.1 | sed -e s/.//g > vimtutor.man | |
337 | |
338 xxd.man: xxd.1 | |
339 nroff -man xxd.1 | sed -e s/.//g > xxd.man | |
340 | |
341 uganda.nsis.txt: uganda.txt | |
342 sed -e 's/[ ]*\*[-a-zA-Z0-9.]*\*//g' -e 's/vim:tw=78://' \ | |
343 uganda.txt | uniq >uganda.nsis.txt | |
344 | |
345 # 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
|
346 html: noerrors tags $(HTMLS) |
7 | 347 @if test -f errors.log; then more errors.log; fi |
348 | |
349 noerrors: | |
350 -rm -f errors.log | |
351 | |
2369
435b5c6a5191
Fix dependencies in help Makefile. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
352 $(HTMLS): tags.ref |
435b5c6a5191
Fix dependencies in help Makefile. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
353 |
7 | 354 .txt.html: |
355 $(AWK) -f makehtml.awk $< >$@ | |
356 | |
788 | 357 # index.html is the starting point for HTML, but for the help files it is |
358 # help.txt. Therefore use vimindex.html for index.txt. | |
359 index.html: help.txt | |
360 $(AWK) -f makehtml.awk help.txt >index.html | |
361 | |
362 vimindex.html: index.txt | |
363 $(AWK) -f makehtml.awk index.txt >vimindex.html | |
364 | |
7 | 365 tags.ref tags.html: tags |
366 $(AWK) -f maketags.awk tags >tags.html | |
367 | |
368 # Perl version of .txt to .html conversion. | |
369 # There can't be two rules to produce a .html from a .txt file. | |
370 # Just run over all .txt files each time one changes. It's fast anyway. | |
371 perlhtml: tags $(DOCS) | |
372 ./vim2html.pl tags $(DOCS) | |
373 | |
374 clean: | |
375 -rm doctags *.html tags.ref | |
376 | |
377 # These files are in the extra archive, skip if not present | |
378 | |
379 arabic.txt: | |
380 touch arabic.txt | |
381 | |
382 farsi.txt: | |
383 touch farsi.txt | |
384 | |
385 hebrew.txt: | |
386 touch hebrew.txt | |
387 | |
388 russian.txt: | |
389 touch russian.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 $< >$@ |