1 |
maillog: 20/05/2005-07:22:15(+0100): Ciaran McCreesh types |
2 |
> On Fri, 20 May 2005 15:06:12 +0900 Georgi Georgiev <chutz@×××.net> wrote: |
3 |
> | The phrase "when an option is specified" is a bit ambiguous, |
4 |
> | especially since it is later referred by the explanation of |
5 |
> | AC_ARG_WITH. I was not sure if "option" in this case means "option" as |
6 |
> | in "--enable-foo=OPTION". I was confused, because one paragarph before |
7 |
> | the example you talk about "--enable-foo and --disable-foo *switches* |
8 |
> | to ./configure". |
9 |
> |
10 |
> .. Important:: The third argument is used when a ``--enable`` or |
11 |
> ``--disable`` switch to ``./configure`` is provided, and the fourth |
12 |
> is used when such a switch is *not* passed. A common misconception is |
13 |
> that the third is enable and the fourth is disable -- this is **not** |
14 |
> the case. You may encounter packages that get this wrong. |
15 |
> |
16 |
> Does that sound any better? |
17 |
|
18 |
Yes, much better. |
19 |
|
20 |
> | - coloring |
21 |
> | |
22 |
> | %.1 : %.in |
23 |
> | @regex_cmd@ -e "s,\@VERSION\@,$(VERSION),g" $? > $@ |
24 |
> | |
25 |
> | The first "@" is span.Special and the second one is span.Constant. |
26 |
> |
27 |
> Hrm, that's a vim thing (I'm using a vim script to do the highlighting |
28 |
> at compile time, it's not manual). If someone enjoys pain they could |
29 |
> have a go at making vim's automake highlighting smarter... Don't think |
30 |
> I'm brave enough to touch that one myself. |
31 |
|
32 |
The 2html.vim that comes with vim seems to work fine here. Tried both 7α |
33 |
and 6.3. The HTML is ugly, but at least it's properly highlighted: |
34 |
|
35 |
http://gg3.net/~chutz/gentoo/highlight/ |
36 |
|
37 |
Of course, you need to "set ft=automake", which is different than |
38 |
ft=make. ;) |
39 |
|
40 |
$ vim -c 'set ft=automake' Makefile.in -c TOhtml -c wq -c qa |
41 |
|
42 |
-- |
43 |
/ Georgi Georgiev / Harp not on that string. -- William / |
44 |
\ chutz@×××.net \ Shakespeare, "Henry VI" \ |
45 |
/ +81(90)2877-8845 / / |