gnu: gtk+-2: Update to 2.24.30.
[jackhill/guix/guix.git] / emacs.am
1 # GNU Guix --- Functional package management for GNU
2 # Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
3 # Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
4 #
5 # This file is part of GNU Guix.
6 #
7 # GNU Guix is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or (at
10 # your option) any later version.
11 #
12 # GNU Guix is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19
20 AUTOLOADS = emacs/guix-autoloads.el
21
22 ELFILES = \
23 emacs/guix-backend.el \
24 emacs/guix-base.el \
25 emacs/guix-build-log.el \
26 emacs/guix-buffer.el \
27 emacs/guix-command.el \
28 emacs/guix-devel.el \
29 emacs/guix-emacs.el \
30 emacs/guix-entry.el \
31 emacs/guix-external.el \
32 emacs/guix-geiser.el \
33 emacs/guix-guile.el \
34 emacs/guix-help-vars.el \
35 emacs/guix-history.el \
36 emacs/guix-hydra.el \
37 emacs/guix-hydra-build.el \
38 emacs/guix-hydra-jobset.el \
39 emacs/guix-info.el \
40 emacs/guix-init.el \
41 emacs/guix-license.el \
42 emacs/guix-list.el \
43 emacs/guix-messages.el \
44 emacs/guix-pcomplete.el \
45 emacs/guix-popup.el \
46 emacs/guix-prettify.el \
47 emacs/guix-profiles.el \
48 emacs/guix-read.el \
49 emacs/guix-ui.el \
50 emacs/guix-ui-package.el \
51 emacs/guix-ui-generation.el \
52 emacs/guix-ui-system-generation.el \
53 emacs/guix-utils.el
54
55 if HAVE_EMACS
56
57 dist_lisp_DATA = $(ELFILES)
58
59 nodist_lisp_DATA = \
60 emacs/guix-config.el \
61 $(AUTOLOADS)
62
63 $(AUTOLOADS): $(ELFILES)
64 $(AM_V_EMACS)$(EMACS) --batch --eval \
65 "(let ((backup-inhibited t) \
66 (generated-autoload-file \
67 (expand-file-name \"$(AUTOLOADS)\" \"$(builddir)\"))) \
68 (update-directory-autoloads \
69 (expand-file-name \"emacs\" \"$(srcdir)\")))"
70
71 CLEANFILES += $(AUTOLOADS)
72
73 endif HAVE_EMACS