Matthieu Moy <[EMAIL PROTECTED]> writes:

> Stefan Reichör <[EMAIL PROTECTED]> writes:
>
>> I know that. I thought about a function like:
>> (defun xtla-version ()
>>    (interactive)
>>    (locate-library "xtla.el")
>>    ... get path from xtla.el
>>    ... load CHANGELOG and retrieve the version information
>
> Seems complex to implement and not very robust: In particular,
>
> ./configure --prefix=/path/to/lisp/dir && make && make install
>
> Will not install the CHANGELOG file where you expect it to be. 
>
> This will  also be broken the day  xtla is included in  GNU Emacs, the
> day it will be distributed as  a .deb, .rpm, ... package that will put
> .el files in a specific directory. 

That is a very good reason to use the xtla-version.el file.

-- 
Stefan.

Reply via email to