emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp as ELPA package


From: Michael Albinus
Subject: Re: Tramp as ELPA package
Date: Sun, 26 Aug 2018 12:48:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

>> diff --git a/configure.ac b/configure.ac
>> index 4fd0e0d0..f1f033cd 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -24,9 +24,12 @@
>>  # incompatible changes (with quotation) have appeared since 2.50.
>>  AC_PREREQ([2.50])
>>  
>> -# Initialize configure script.  This is the only point Tramp revision
>> +# Initialize configure script.  The only place where Tramp's version
>> +# is kept is in lisp/tramp.el's "Version:" header.
>>  # needs to be set.
>> -AC_INIT([Tramp], [2.4.0], address@hidden)
>> +# NOTE: the main purpose of the `regexp` call is to strip the final LF.
>> +define([TRAMP_VERSION], regexp(esyscmd([sed -n -e 's/^;; Version:
>> *//p' lisp/tramp.el]), [[-a-z0-9.]*], [\&]))
>> +AC_INIT([Tramp], TRAMP_VERSION, address@hidden)
>>  AC_MSG_NOTICE([$PACKAGE_STRING])
>
> You need to add a rule to regenerate configure when tramp.el changes.

This would be too heavy. I've added a rule to regenerate configure, when
the Tramp version in tramp.el changes.

> Andreas.

Best regards, Michael.



reply via email to

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