OSDN Git Service

9bcbfb88a097a69b170a3e22e0bc2b303565c068
[epg/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: elc
14
15 elc:
16         $(EMACS) $(FLAGS) -l COMPILE -f epg-compile
17
18 install: 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
28 compile-individually:
29         @for i in `$(EMACS) $(FLAGS) -l COMPILE -f epg-examine`; do \
30                 echo $(EMACS) $(FLAGS) -l COMPILE \
31                         -f epg-compile-module $$i; \
32                 $(EMACS) $(FLAGS) -l COMPILE \
33                         -f epg-compile-module $$i; \
34         done