Cosmetic fix. Used backslash.
[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 \
32                 $(LISPDIR) $(PIXMAPDIR)
33
34 check:
35         $(EMACS) $(BATCHFLAG) -l WL-MK -f check-wl \
36                 $(LISPDIR) $(PIXMAPDIR)
37
38 test:
39         $(EMACS) $(FLAGS) -l WL-MK -f test-wl \
40                 $(LISPDIR) $(PIXMAPDIR)
41
42 update-version:
43         $(EMACS) $(FLAGS) -l WL-MK -f update-version \
44                 $(LISPDIR) $(PIXMAPDIR)
45
46 install-elc:
47         $(EMACS) $(FLAGS) -l WL-MK -f install-wl-package \
48                 $(LISPDIR) $(PIXMAPDIR)
49
50 uninstall-elc:
51         $(EMACS) $(FLAGS) -l WL-MK -f uninstall-wl-package \
52                 $(LISPDIR) $(PIXMAPDIR)
53
54 clean-elc:
55         rm -f wl/*.elc wl/*~ wl/auto-autoloads.el wl/custom-load.el \
56                 wl/wl-news.el elmo/*.elc utils/*.elc utils/hmac/lisp/*.elc
57
58 package:
59         $(XEMACS) $(FLAGS) -l WL-MK -f compile-wl-package-xmas \
60                 $(PACKAGEDIR) $(PIXMAPDIR)
61
62 install-package:
63         $(XEMACS) $(FLAGS) -l WL-MK -f install-wl-package-xmas \
64                 $(PACKAGEDIR) $(PIXMAPDIR)
65
66 info:
67         $(EMACS) $(FLAGS) -l WL-MK -f wl-texinfo-format $(INFODIR)
68
69 install-info:
70         $(EMACS) $(FLAGS) -l WL-MK -f install-wl-info $(INFODIR)
71
72 mostlyclean-info:
73         rm -f doc/*~ doc/*.cp doc/*.fn doc/*.ky doc/*.pg doc/*.tp doc/*.vr \
74                 doc/*.cps doc/*.fns doc/*.kys doc/*.pgs doc/*.tps doc/*.vrs
75
76 clean-info: mostlyclean-info
77         rm -f doc/*.info doc/*.info-*
78
79 mostlyclean-dvi:
80         rm -f doc/*~ doc/*.aux doc/*.log doc/*.toc
81
82 clean-dvi: mostlyclean-dvi
83         rm -f doc/*.dvi
84
85 all: elc
86
87 install: install-elc
88
89 uninstall: uninstall-elc
90
91 mostlyclean: clean-elc mostlyclean-info mostlyclean-dvi
92
93 clean: mostlyclean clean-dvi
94
95 distclean: maintainer-clean
96
97 maintainer-clean: clean clean-info