doc: Make "Application Setup" more prominent.
[jackhill/guix/guix.git] / emacs.am
CommitLineData
457f60fa
AK
1# GNU Guix --- Functional package management for GNU
2# Copyright © 2014 Alex Kost <alezost@gmail.com>
3#
4# This file is part of GNU Guix.
5#
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.
10#
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.
15#
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/>.
18
19AUTOLOADS = emacs/guix-autoloads.el
20
21ELFILES = \
22 emacs/guix-backend.el \
23 emacs/guix-base.el \
12f2490a 24 emacs/guix-emacs.el \
457f60fa
AK
25 emacs/guix-history.el \
26 emacs/guix-info.el \
27 emacs/guix-list.el \
fae3d347 28 emacs/guix-messages.el \
00a8dae2 29 emacs/guix-pcomplete.el \
9a130e19 30 emacs/guix-prettify.el \
457f60fa
AK
31 emacs/guix-utils.el \
32 emacs/guix.el
33
a9638ac4
LC
34if HAVE_EMACS
35
457f60fa
AK
36dist_lisp_DATA = \
37 $(ELFILES) \
38 $(AUTOLOADS)
39
40nodist_lisp_DATA = \
3db349cb
AK
41 emacs/guix-init.el \
42 emacs/guix-profiles.el
457f60fa
AK
43
44$(AUTOLOADS): $(ELFILES)
45 $(EMACS) --batch --eval \
46 "(let ((backup-inhibited t) \
47 (generated-autoload-file \
48 (expand-file-name \"$(AUTOLOADS)\" \"$(srcdir)\"))) \
49 (update-directory-autoloads \
50 (expand-file-name \"emacs\" \"$(srcdir)\")))"
596fcbf7
LC
51
52endif HAVE_EMACS