2 # Please specify your Emacs here.
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.
10 # Target directory to install the Wanderlust package.
11 # (Automatically detected if this line is unchanged.)
14 #LISPDIR = /usr/local/lib/mule/site-lisp
17 #INFODIR = /usr/local/share/info
22 # For XEmacs or Emacs 21: directory where icon files should go.
26 ################# No need to modify following lines ####################
28 FLAGS
= $(BATCHFLAG
) -q
-no-site-file
31 $(EMACS
) $(FLAGS
) -l WL-MK
-f compile-wl-package \
32 $(LISPDIR
) $(PIXMAPDIR
)
35 $(EMACS
) $(BATCHFLAG
) -l WL-MK
-f check-wl \
36 $(LISPDIR
) $(PIXMAPDIR
)
39 $(EMACS
) $(FLAGS
) -l WL-MK
-f test-wl \
40 $(LISPDIR
) $(PIXMAPDIR
)
43 $(EMACS
) $(FLAGS
) -l WL-MK
-f update-version \
44 $(LISPDIR
) $(PIXMAPDIR
)
46 compile-strict
: clean-elc
48 args
="$$args -L elmo -L wl";\
49 echo
"=============================================";\
50 echo
"Compiling the 1st stage-----without elc files";\
51 echo
"=============================================";\
52 for i in
`$(EMACS) $(FLAGS) -l WL-MK -f wl-examine-modules 2>/dev/null`;\
54 j
=`echo $$i| sed 's/elc$$/el/g'`;\
55 echo
"$(EMACS) ARGS -f batch-byte-compile $$j";\
56 $(EMACS
) $$args -f batch-byte-compile
$$j;\
59 for i in
`echo elmo/*.elx wl/*.elx utils/*.elx`; do\
60 j
=`echo $$i| sed 's/elx$$/elc/g'`;\
63 echo
"==============================================";\
64 echo
"Compiling the 2nd stage-----with all elc files";\
65 echo
"==============================================";\
66 for i in
`$(EMACS) $(FLAGS) -l WL-MK -f wl-examine-modules 2>/dev/null`;\
68 j
=`echo $$i| sed 's/elc$$/el/g'`;\
69 echo
"$(EMACS) ARGS -f batch-byte-compile $$j";\
70 $(EMACS
) $$args -f batch-byte-compile
$$j;\
74 $(EMACS
) $(FLAGS
) -l WL-MK
-f install-wl-package \
75 $(LISPDIR
) $(PIXMAPDIR
)
78 $(EMACS
) $(FLAGS
) -l WL-MK
-f uninstall-wl-package \
79 $(LISPDIR
) $(PIXMAPDIR
)
82 rm -f wl
/*.elc wl
/*~ wl
/auto-autoloads.el wl
/custom-load.el \
83 wl
/wl-news.el elmo
/*.elc utils
/*.elc \
84 wl
/*.elx elmo
/*.elx utils
/*.elx
87 $(XEMACS
) $(FLAGS
) -l WL-MK
-f compile-wl-package-xmas \
88 $(PACKAGEDIR
) $(PIXMAPDIR
)
91 $(XEMACS
) $(FLAGS
) -l WL-MK
-f install-wl-package-xmas \
92 $(PACKAGEDIR
) $(PIXMAPDIR
)
95 $(EMACS
) $(FLAGS
) -l WL-MK
-f wl-texinfo-format
$(INFODIR
)
98 $(EMACS
) $(FLAGS
) -l WL-MK
-f install-wl-info
$(INFODIR
)
101 rm -f doc
/*~ doc
/*.cp doc
/*.fn doc
/*.ky doc
/*.pg doc
/*.tp doc
/*.vr \
102 doc
/*.cps doc
/*.fns doc
/*.kys doc
/*.pgs doc
/*.tps doc
/*.vrs
104 clean-info
: mostlyclean-info
105 rm -f doc
/*.
info doc
/*.info-
*
108 rm -f doc
/*~ doc
/*.aux doc
/*.log doc
/*.toc
110 clean-dvi
: mostlyclean-dvi
117 uninstall: uninstall-elc
119 mostlyclean: clean-elc mostlyclean-info mostlyclean-dvi
121 clean: mostlyclean clean-dvi
123 distclean: maintainer-clean
125 maintainer-clean
: clean clean-info