poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 1/2] Distribute vim syntax highlighting


From: Jose E. Marchesi
Subject: Re: [PATCH v2 1/2] Distribute vim syntax highlighting
Date: Mon, 15 Mar 2021 17:42:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> On Mo, 2021-03-15T00:13+0100, Jose E. Marchesi wrote:
>> > +dnl editor syntax definitions
>> > +AC_ARG_WITH([vimdir],
>> > + [AS_HELP_STRING([--with-vimdir],
>> > +                 [override the default vim directory])],
>> > + [ vimdir="$withval"
>> > +   AC_MSG_CHECKING([where vim files should go])
>> > +   AC_MSG_RESULT([$vimdir])],
>> > + [ vimdir='${datadir}/vim/vimfiles' ]
>> > +)
>> > +AC_SUBST([vimdir])
>> 
>> I wonder how robust is this, to AC_SUBST `vimdir' instead of a VIMDIR
>> and then definining vimdir as a regular Automake variable in
>> etc/Makefile.am...
>
> The current code does create a "vimdir = @vimdir@" line in 
> etc/vim/Makefile.in.
> Also it is similar to how the emacs "lispdir" is handled.
> See [0] and lispdir.m4.
>
> I'm not that familiar with autotools, so maybe I missed some details.
>
> Thomas
>
> [0]
> https://www.gnu.org/software/automake/manual/html_node/Hard_002dCoded-Install-Paths.html
> (search for "lispdir")

Ok I see.
Then this patch is OK for master.

Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]