poke-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] Distribute Emacs syntax highlighting


From: Jose E. Marchesi
Subject: Re: [PATCH 2/2] Distribute Emacs syntax highlighting
Date: Fri, 12 Mar 2021 17:30:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Thomas.

> 2021-03-12  Thomas Weißschuh <thomas@t-8ch.de>
>
>         * etc/Makefile.am: Distribute Emacs syntax highlighting.
> ---
>  ChangeLog       | 4 ++++
>  etc/Makefile.am | 3 +++
>  2 files changed, 7 insertions(+)
>
> diff --git a/ChangeLog b/ChangeLog
> index 0fb56ef9..805313b1 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,7 @@
> +2021-03-12  Thomas Weißschuh <thomas@t-8ch.de>
> +
> +     * etc/Makefile.am: Distribute Emacs syntax highlighting.
> +
>  2021-03-12  Thomas Weißschuh <thomas@t-8ch.de>
>  
>       * etc/vim/Makefile.am: Distribute vim syntax highlighting.
> diff --git a/etc/Makefile.am b/etc/Makefile.am
> index e7f5b339..2fe6f6ff 100644
> --- a/etc/Makefile.am
> +++ b/etc/Makefile.am
> @@ -3,3 +3,6 @@ SUBDIRS = vim
>  EXTRA_DIST = poke.rec
>  
>  dist_pkgdata_DATA = poke-default.css
> +
> +emacsdir = $(datadir)/emacs/site-lisp
> +dist_emacs_DATA = poke-mode.el poke-map-mode.el poke-ras-mode.el

According to the Automake manual the right way to do this is to call
AM_PATH_LISPDIR in configure.ac and then use:

dist_lisp_DATA = poke-mode.el poke-map-mode.el poke-ras-mode.el

(or alternatively the primary LISP instead of DATA, which would result
 in the files being byte-compiled before being installed.)



reply via email to

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