(elmo-archive-list-folders): Use `file-name-directory' if base folder
[elisp/wanderlust.git] / Makefile
1 #
2 # Please specify your Emacs here.
3 #
4 EMACS   = emacs
5 # To install Wanderlust for XEmacs 21 or later,
6 # running 'make install-package' is recommended.
7 # 'make install-package' refers $XEMACS instead of $EMACS.
8 XEMACS  = xemacs
9 #
10 # Target directory to install the Wanderlust package.
11 # (Automatically detected if this line is unchanged.)
12 #
13 LISPDIR = NONE
14 #LISPDIR = /usr/local/lib/mule/site-lisp
15
16 INFODIR = NONE
17 #INFODIR = /usr/local/share/info
18
19 # For XEmacs package.
20 PACKAGEDIR = NONE
21
22
23 ################# No need to modify following lines ####################
24 FLAGS   = -batch -q -no-site-file
25
26 elc:
27         $(EMACS) $(FLAGS) -l WL-MK -f compile-wl-package $(LISPDIR)
28
29 install-elc:
30         $(EMACS) $(FLAGS) -l WL-MK -f install-wl-package $(LISPDIR)
31
32 uninstall-elc:
33         $(EMACS) $(FLAGS) -l WL-MK -f uninstall-wl-package $(LISPDIR)
34
35 clean-elc:
36         rm -f wl/*.elc wl/auto-autoloads.el wl/custom-load.el elmo/*.elc utils/*.elc utils/hmac/lisp/*.elc
37
38 package:
39         $(XEMACS) $(FLAGS) -l WL-MK -f compile-wl-package-xmas $(PACKAGEDIR)
40
41 install-package:
42         $(XEMACS) $(FLAGS) -l WL-MK -f install-wl-package-xmas $(PACKAGEDIR)
43
44 info:
45         $(EMACS) $(FLAGS) -l WL-MK -f wl-texinfo-format $(INFODIR)
46
47 install-info:
48         $(EMACS) $(FLAGS) -l WL-MK -f install-wl-info $(INFODIR)
49
50 all: elc
51
52 install: install-elc
53
54 uninstall: uninstall-elc
55
56 clean: clean-elc