Fixed last change.
[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 # For XEmacs or Emacs 21: directory where icon files should go.
23 PIXMAPDIR = NONE
24
25
26 ################# No need to modify following lines ####################
27 FLAGS   = -batch -q -no-site-file
28
29 elc:
30         $(EMACS) $(FLAGS) -l WL-MK -f compile-wl-package $(LISPDIR) $(PIXMAPDIR)
31
32 install-elc:
33         $(EMACS) $(FLAGS) -l WL-MK -f install-wl-package $(LISPDIR) $(PIXMAPDIR)
34
35 uninstall-elc:
36         $(EMACS) $(FLAGS) -l WL-MK -f uninstall-wl-package $(LISPDIR) $(PIXMAPDIR)
37
38 clean-elc:
39         rm -f wl/*.elc wl/auto-autoloads.el wl/custom-load.el elmo/*.elc utils/*.elc utils/hmac/lisp/*.elc
40
41 package:
42         $(XEMACS) $(FLAGS) -l WL-MK -f compile-wl-package-xmas $(PACKAGEDIR) $(PIXMAPDIR)
43
44 install-package:
45         $(XEMACS) $(FLAGS) -l WL-MK -f install-wl-package-xmas $(PACKAGEDIR) $(PIXMAPDIR)
46
47 info:
48         $(EMACS) $(FLAGS) -l WL-MK -f wl-texinfo-format $(INFODIR)
49
50 install-info:
51         $(EMACS) $(FLAGS) -l WL-MK -f install-wl-info $(INFODIR)
52
53 all: elc
54
55 install: install-elc
56
57 uninstall: uninstall-elc
58
59 clean: clean-elc