vm: Remove unused procedure.
[guix.git] / emacs.am
blob92790782370cb37c70fec0b61a2dd37e2ac4a1b8
1 # GNU Guix --- Functional package management for GNU
2 # Copyright © 2014 Alex Kost <alezost@gmail.com>
4 # This file is part of GNU Guix.
6 # GNU Guix is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or (at
9 # your option) any later version.
11 # GNU Guix is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
19 AUTOLOADS = emacs/guix-autoloads.el
21 ELFILES =                                       \
22   emacs/guix-backend.el                         \
23   emacs/guix-base.el                            \
24   emacs/guix-history.el                         \
25   emacs/guix-info.el                            \
26   emacs/guix-list.el                            \
27   emacs/guix-messages.el                        \
28   emacs/guix-utils.el                           \
29   emacs/guix.el
31 if HAVE_EMACS
33 dist_lisp_DATA =                                \
34   $(ELFILES)                                    \
35   $(AUTOLOADS)
37 nodist_lisp_DATA =                              \
38   emacs/guix-init.el
40 $(AUTOLOADS): $(ELFILES)
41         $(EMACS) --batch --eval                                         \
42           "(let ((backup-inhibited t)                                   \
43                  (generated-autoload-file                               \
44                   (expand-file-name \"$(AUTOLOADS)\" \"$(srcdir)\")))   \
45              (update-directory-autoloads                                \
46               (expand-file-name \"emacs\" \"$(srcdir)\")))"
48 endif HAVE_EMACS