Mercurial > vim
annotate runtime/doc/Makefile @ 7870:fb5ba6fbc843 v7.4.1232
commit https://github.com/vim/vim/commit/1357caf31f3e447d99baf8dd6a3243e2ab38567f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 1 21:40:14 2016 +0100
patch 7.4.1232
Problem: Compiler warnings when the Sniff feature is enabled.
Solution: Add UNUSED.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 01 Feb 2016 21:45:06 +0100 |
parents | 192ae655ac91 |
children | 9531717f0694 |
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_w16.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 \ |
15 | 86 print.txt \ |
7 | 87 quickfix.txt \ |
88 quickref.txt \ | |
89 quotes.txt \ | |
90 recover.txt \ | |
91 remote.txt \ | |
92 repeat.txt \ | |
93 rileft.txt \ | |
94 russian.txt \ | |
95 scroll.txt \ | |
96 sign.txt \ | |
1619 | 97 spell.txt \ |
7 | 98 sponsor.txt \ |
99 starting.txt \ | |
100 syntax.txt \ | |
674 | 101 tabpage.txt \ |
7 | 102 tagsrch.txt \ |
103 term.txt \ | |
104 tips.txt \ | |
105 todo.txt \ | |
106 uganda.txt \ | |
107 undo.txt \ | |
108 usr_01.txt \ | |
109 usr_02.txt \ | |
110 usr_03.txt \ | |
111 usr_04.txt \ | |
112 usr_05.txt \ | |
113 usr_06.txt \ | |
114 usr_07.txt \ | |
115 usr_08.txt \ | |
116 usr_09.txt \ | |
117 usr_10.txt \ | |
118 usr_11.txt \ | |
119 usr_12.txt \ | |
120 usr_20.txt \ | |
121 usr_21.txt \ | |
122 usr_22.txt \ | |
123 usr_23.txt \ | |
124 usr_24.txt \ | |
125 usr_25.txt \ | |
126 usr_26.txt \ | |
127 usr_27.txt \ | |
128 usr_28.txt \ | |
129 usr_29.txt \ | |
130 usr_30.txt \ | |
131 usr_31.txt \ | |
799 | 132 usr_32.txt \ |
7 | 133 usr_40.txt \ |
134 usr_41.txt \ | |
135 usr_42.txt \ | |
136 usr_43.txt \ | |
137 usr_44.txt \ | |
138 usr_45.txt \ | |
139 usr_90.txt \ | |
140 usr_toc.txt \ | |
141 various.txt \ | |
142 version4.txt \ | |
143 version5.txt \ | |
144 version6.txt \ | |
15 | 145 version7.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_w16.html \ | |
171 gui_w32.html \ | |
172 gui_x11.html \ | |
173 hangulin.html \ | |
174 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
|
175 helphelp.html \ |
7 | 176 howto.html \ |
177 if_cscop.html \ | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2282
diff
changeset
|
178 if_lua.html \ |
36 | 179 if_mzsch.html \ |
7 | 180 if_ole.html \ |
181 if_perl.html \ | |
182 if_pyth.html \ | |
183 if_ruby.html \ | |
184 if_sniff.html \ | |
185 if_tcl.html \ | |
186 indent.html \ | |
187 index.html \ | |
188 insert.html \ | |
189 intro.html \ | |
190 map.html \ | |
1619 | 191 mbyte.html \ |
7 | 192 message.html \ |
1619 | 193 mlang.html \ |
7 | 194 motion.html \ |
195 netbeans.html \ | |
196 options.html \ | |
197 os_390.html \ | |
198 os_amiga.html \ | |
199 os_beos.html \ | |
200 os_dos.html \ | |
201 os_mac.html \ | |
202 os_mint.html \ | |
203 os_msdos.html \ | |
204 os_os2.html \ | |
205 os_qnx.html \ | |
206 os_risc.html \ | |
207 os_unix.html \ | |
208 os_vms.html \ | |
209 os_win32.html \ | |
210 pattern.html \ | |
1120 | 211 pi_getscript.html \ |
7 | 212 pi_gzip.html \ |
6855
ee45d3b0579b
Add the logiPat plugin to the distribution.
Bram Moolenaar <bram@vim.org>
parents:
6518
diff
changeset
|
213 pi_logipat.html \ |
7 | 214 pi_netrw.html \ |
694 | 215 pi_paren.html \ |
7 | 216 pi_spec.html \ |
845 | 217 pi_tar.html \ |
218 pi_vimball.html \ | |
219 pi_zip.html \ | |
15 | 220 print.html \ |
7 | 221 quickfix.html \ |
222 quickref.html \ | |
223 quotes.html \ | |
224 recover.html \ | |
225 remote.html \ | |
226 repeat.html \ | |
227 rileft.html \ | |
228 russian.html \ | |
229 scroll.html \ | |
230 sign.html \ | |
1619 | 231 spell.html \ |
7 | 232 sponsor.html \ |
233 starting.html \ | |
234 syntax.html \ | |
674 | 235 tabpage.html \ |
7 | 236 tagsrch.html \ |
237 term.html \ | |
238 tips.html \ | |
239 todo.html \ | |
240 uganda.html \ | |
241 undo.html \ | |
242 usr_01.html \ | |
243 usr_02.html \ | |
244 usr_03.html \ | |
245 usr_04.html \ | |
246 usr_05.html \ | |
247 usr_06.html \ | |
248 usr_07.html \ | |
249 usr_08.html \ | |
250 usr_09.html \ | |
251 usr_10.html \ | |
252 usr_11.html \ | |
253 usr_12.html \ | |
254 usr_20.html \ | |
255 usr_21.html \ | |
256 usr_22.html \ | |
257 usr_23.html \ | |
258 usr_24.html \ | |
259 usr_25.html \ | |
260 usr_26.html \ | |
261 usr_27.html \ | |
262 usr_28.html \ | |
263 usr_29.html \ | |
264 usr_30.html \ | |
265 usr_31.html \ | |
799 | 266 usr_32.html \ |
7 | 267 usr_40.html \ |
268 usr_41.html \ | |
269 usr_42.html \ | |
270 usr_43.html \ | |
271 usr_44.html \ | |
272 usr_45.html \ | |
273 usr_90.html \ | |
274 usr_toc.html \ | |
275 various.html \ | |
276 version4.html \ | |
277 version5.html \ | |
278 version6.html \ | |
15 | 279 version7.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_w16.txt: | |
392 touch gui_w16.txt | |
393 | |
394 gui_w32.txt: | |
395 touch gui_w32.txt | |
396 | |
397 if_ole.txt: | |
398 touch if_ole.txt | |
399 | |
400 os_390.txt: | |
401 touch os_390.txt | |
402 | |
403 os_amiga.txt: | |
404 touch os_amiga.txt | |
405 | |
406 os_beos.txt: | |
407 touch os_beos.txt | |
408 | |
409 os_dos.txt: | |
410 touch os_dos.txt | |
411 | |
412 os_mac.txt: | |
413 touch os_mac.txt | |
414 | |
415 os_mint.txt: | |
416 touch os_mint.txt | |
417 | |
418 os_msdos.txt: | |
419 touch os_msdos.txt | |
420 | |
421 os_os2.txt: | |
422 touch os_os2.txt | |
423 | |
424 os_qnx.txt: | |
425 touch os_qnx.txt | |
426 | |
427 os_risc.txt: | |
428 touch os_risc.txt | |
429 | |
430 os_win32.txt: | |
431 touch os_win32.txt | |
216 | 432 |
701 | 433 # Note that $< works with GNU make while $> works for BSD make. |
810 | 434 # Is there a solution that works for both?? |
236 | 435 vim-fr.UTF-8.1: vim-fr.1 |
436 iconv -f latin1 -t utf-8 $< >$@ | |
437 | |
438 evim-fr.UTF-8.1: evim-fr.1 | |
439 iconv -f latin1 -t utf-8 $< >$@ | |
440 | |
441 vimdiff-fr.UTF-8.1: vimdiff-fr.1 | |
442 iconv -f latin1 -t utf-8 $< >$@ | |
443 | |
444 vimtutor-fr.UTF-8.1: vimtutor-fr.1 | |
445 iconv -f latin1 -t utf-8 $< >$@ | |
446 | |
447 xxd-fr.UTF-8.1: xxd-fr.1 | |
448 iconv -f latin1 -t utf-8 $< >$@ | |
449 | |
216 | 450 vim-it.UTF-8.1: vim-it.1 |
236 | 451 iconv -f latin1 -t utf-8 $< >$@ |
216 | 452 |
453 evim-it.UTF-8.1: evim-it.1 | |
236 | 454 iconv -f latin1 -t utf-8 $< >$@ |
216 | 455 |
456 vimdiff-it.UTF-8.1: vimdiff-it.1 | |
236 | 457 iconv -f latin1 -t utf-8 $< >$@ |
216 | 458 |
459 vimtutor-it.UTF-8.1: vimtutor-it.1 | |
236 | 460 iconv -f latin1 -t utf-8 $< >$@ |
216 | 461 |
462 xxd-it.UTF-8.1: xxd-it.1 | |
236 | 463 iconv -f latin1 -t utf-8 $< >$@ |
216 | 464 |
1698 | 465 vim-pl.UTF-8.1: vim-pl.1 |
466 iconv -f latin2 -t utf-8 $< >$@ | |
467 | |
468 evim-pl.UTF-8.1: evim-pl.1 | |
469 iconv -f latin2 -t utf-8 $< >$@ | |
470 | |
471 vimdiff-pl.UTF-8.1: vimdiff-pl.1 | |
472 iconv -f latin2 -t utf-8 $< >$@ | |
473 | |
474 vimtutor-pl.UTF-8.1: vimtutor-pl.1 | |
475 iconv -f latin2 -t utf-8 $< >$@ | |
476 | |
477 xxd-pl.UTF-8.1: xxd-pl.1 | |
478 iconv -f latin2 -t utf-8 $< >$@ | |
479 | |
216 | 480 vim-ru.UTF-8.1: vim-ru.1 |
236 | 481 iconv -f KOI8-R -t utf-8 $< >$@ |
216 | 482 |
483 evim-ru.UTF-8.1: evim-ru.1 | |
236 | 484 iconv -f KOI8-R -t utf-8 $< >$@ |
216 | 485 |
486 vimdiff-ru.UTF-8.1: vimdiff-ru.1 | |
236 | 487 iconv -f KOI8-R -t utf-8 $< >$@ |
216 | 488 |
489 vimtutor-ru.UTF-8.1: vimtutor-ru.1 | |
236 | 490 iconv -f KOI8-R -t utf-8 $< >$@ |
216 | 491 |
492 xxd-ru.UTF-8.1: xxd-ru.1 | |
236 | 493 iconv -f KOI8-R -t utf-8 $< >$@ |