Add 'guix-daemon.conf' job for Upstart.
[jackhill/guix/guix.git] / emacs.am
CommitLineData
457f60fa 1# GNU Guix --- Functional package management for GNU
26476d58 2# Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
457f60fa
AK
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 \
34850cd5 24 emacs/guix-build-log.el \
9b0afb0d 25 emacs/guix-command.el \
187f80c6 26 emacs/guix-devel.el \
12f2490a 27 emacs/guix-emacs.el \
70fabd49 28 emacs/guix-external.el \
f029f8a7 29 emacs/guix-geiser.el \
c74cd6cc 30 emacs/guix-guile.el \
26476d58 31 emacs/guix-help-vars.el \
457f60fa
AK
32 emacs/guix-history.el \
33 emacs/guix-info.el \
bd6163d1 34 emacs/guix-init.el \
457f60fa 35 emacs/guix-list.el \
fae3d347 36 emacs/guix-messages.el \
00a8dae2 37 emacs/guix-pcomplete.el \
1f13861b 38 emacs/guix-popup.el \
9a130e19 39 emacs/guix-prettify.el \
bd6163d1 40 emacs/guix-profiles.el \
d007d8a1 41 emacs/guix-read.el \
457f60fa
AK
42 emacs/guix-utils.el \
43 emacs/guix.el
44
a9638ac4
LC
45if HAVE_EMACS
46
457f60fa
AK
47dist_lisp_DATA = \
48 $(ELFILES) \
49 $(AUTOLOADS)
50
bd6163d1 51nodist_lisp_DATA = emacs/guix-config.el
457f60fa
AK
52
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)\")))"
596fcbf7
LC
60
61endif HAVE_EMACS