emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp as ELPA package


From: Andreas Schwab
Subject: Re: Tramp as ELPA package
Date: Sun, 26 Aug 2018 08:39:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

On Aug 25 2018, Stefan Monnier <address@hidden> wrote:

> 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.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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