store: Use the daemon's substitute URLs by default.
[guix.git] / emacs.am
blob9f300bfc071297cb3d4a14c31cefc911e2f27048
1 # GNU Guix --- Functional package management for GNU
2 # Copyright © 2014, 2015 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-build-log.el                       \
25   emacs/guix-command.el                         \
26   emacs/guix-devel.el                           \
27   emacs/guix-emacs.el                           \
28   emacs/guix-external.el                        \
29   emacs/guix-geiser.el                          \
30   emacs/guix-guile.el                           \
31   emacs/guix-help-vars.el                       \
32   emacs/guix-history.el                         \
33   emacs/guix-info.el                            \
34   emacs/guix-init.el                            \
35   emacs/guix-list.el                            \
36   emacs/guix-messages.el                        \
37   emacs/guix-pcomplete.el                       \
38   emacs/guix-popup.el                           \
39   emacs/guix-prettify.el                        \
40   emacs/guix-profiles.el                        \
41   emacs/guix-read.el                            \
42   emacs/guix-utils.el                           \
43   emacs/guix.el
45 if HAVE_EMACS
47 dist_lisp_DATA =                                \
48   $(ELFILES)                                    \
49   $(AUTOLOADS)
51 nodist_lisp_DATA = emacs/guix-config.el
53 $(AUTOLOADS): $(ELFILES)
54         $(EMACS) --batch --eval                                         \
55           "(let ((backup-inhibited t)                                   \
56                  (generated-autoload-file                               \
57                   (expand-file-name \"$(AUTOLOADS)\" \"$(srcdir)\")))   \
58              (update-directory-autoloads                                \
59               (expand-file-name \"emacs\" \"$(srcdir)\")))"
61 endif HAVE_EMACS