A merry Christmas to bitmap lovers.
[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 BATCHFLAG = -batch
28 FLAGS     = $(BATCHFLAG) -q -no-site-file
29
30 elc:
31         $(EMACS) $(FLAGS) -l WL-MK -f compile-wl-package $(LISPDIR) $(PIXMAPDIR)
32
33 check:
34         $(EMACS) $(BATCHFLAG) -l WL-MK -f check-wl $(LISPDIR) $(PIXMAPDIR)
35
36 test:
37         $(EMACS) $(FLAGS) -l WL-MK -f test-wl $(LISPDIR) $(PIXMAPDIR)
38
39 install-elc:
40         $(EMACS) $(FLAGS) -l WL-MK -f install-wl-package $(LISPDIR) $(PIXMAPDIR)
41
42 uninstall-elc:
43         $(EMACS) $(FLAGS) -l WL-MK -f uninstall-wl-package $(LISPDIR) $(PIXMAPDIR)
44
45 clean-elc:
46         rm -f wl/*.elc wl/*~ wl/auto-autoloads.el wl/custom-load.el elmo/*.elc utils/*.elc utils/hmac/lisp/*.elc
47
48 package:
49         $(XEMACS) $(FLAGS) -l WL-MK -f compile-wl-package-xmas $(PACKAGEDIR) $(PIXMAPDIR)
50
51 install-package:
52         $(XEMACS) $(FLAGS) -l WL-MK -f install-wl-package-xmas $(PACKAGEDIR) $(PIXMAPDIR)
53
54 info:
55         $(EMACS) $(FLAGS) -l WL-MK -f wl-texinfo-format $(INFODIR)
56
57 install-info:
58         $(EMACS) $(FLAGS) -l WL-MK -f install-wl-info $(INFODIR)
59
60 mostlyclean-info:
61         rm -f doc/*~ doc/*.cp doc/*.fn doc/*.ky doc/*.pg doc/*.tp doc/*.vr doc/*.cps doc/*.fns doc/*.kys doc/*.pgs doc/*.tps doc/*.vrs
62
63 clean-info: mostlyclean-info
64         rm -f doc/*.info doc/*.info-*
65
66 mostlyclean-dvi:
67         rm -f doc/*~ doc/*.aux doc/*.log doc/*.toc
68
69 clean-dvi: mostlyclean-dvi
70         rm -f doc/*.dvi
71
72 all: elc
73
74 install: install-elc
75
76 uninstall: uninstall-elc
77
78 mostlyclean: clean-elc mostlyclean-info mostlyclean-dvi
79
80 clean: mostlyclean clean-dvi
81
82 distclean: maintainer-clean
83
84 maintainer-clean: clean clean-info