* EasyPG: Version 0.0.16 released.
[elisp/epg.git] / Makefile.am
1 AUTOMAKE_OPTIONS = no-dependencies
2
3 EXTRA_DIST = COMPILE epg-config.el epg.el epa.el epa-dired.el \
4 epa-file.el epa-mail.el epa-setup.el
5
6 CLEANFILES = auto-autoloads.el* custom-load.el *.elc
7 DISTCLEANFILES = epg-package-info.el
8
9 info_TEXINFOS = epa.texi
10
11 FLAGS ?= -batch -q -no-site-file
12
13 all-local: elc
14
15 elc:
16         $(EMACS) $(FLAGS) -l COMPILE -f epg-compile
17
18 install-data-local: elc
19         $(EMACS) $(FLAGS) -l COMPILE -f epg-install $(lispdir) # $(MAKE)
20
21 package:
22         $(XEMACS) $(FLAGS) -l COMPILE -f epg-compile-package
23
24 install-package: package
25         $(XEMACS) $(FLAGS) -l COMPILE -f epg-install-package \
26                 $(PACKAGEDIR) # $(MAKE)
27         $(MAKE) infodir=$(PACKAGEDIR)/info install
28
29 compile-individually:
30         @for i in `$(EMACS) $(FLAGS) -l COMPILE -f epg-examine`; do \
31                 echo $(EMACS) $(FLAGS) -l COMPILE \
32                         -f epg-compile-module $$i; \
33                 $(EMACS) $(FLAGS) -l COMPILE \
34                         -f epg-compile-module $$i; \
35         done