X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile;h=bea06b51b552a24371f1874cc86e7212b81321ca;hb=6ca7e866b720a687928bfca85870a2340616e255;hp=05ab081c5c9fb31e53ad0a0a648426634e05b0b6;hpb=470f03487969f0ec43d8bc57962ffbc55b0f5ffe;p=elisp%2Fwanderlust.git diff --git a/Makefile b/Makefile index 05ab081..bea06b5 100644 --- a/Makefile +++ b/Makefile @@ -24,11 +24,21 @@ PIXMAPDIR = NONE ################# No need to modify following lines #################### -FLAGS = -batch -q -no-site-file +BATCHFLAG = -batch +FLAGS = $(BATCHFLAG) -q -no-site-file elc: $(EMACS) $(FLAGS) -l WL-MK -f compile-wl-package $(LISPDIR) $(PIXMAPDIR) +check: + $(EMACS) $(BATCHFLAG) -l WL-MK -f check-wl $(LISPDIR) $(PIXMAPDIR) + +test: + $(EMACS) $(FLAGS) -l WL-MK -f test-wl $(LISPDIR) $(PIXMAPDIR) + +update-version: + $(EMACS) $(FLAGS) -l WL-MK -f update-version $(LISPDIR) $(PIXMAPDIR) + install-elc: $(EMACS) $(FLAGS) -l WL-MK -f install-wl-package $(LISPDIR) $(PIXMAPDIR) @@ -36,7 +46,7 @@ uninstall-elc: $(EMACS) $(FLAGS) -l WL-MK -f uninstall-wl-package $(LISPDIR) $(PIXMAPDIR) clean-elc: - rm -f wl/*.elc wl/*~ wl/auto-autoloads.el wl/custom-load.el elmo/*.elc utils/*.elc utils/hmac/lisp/*.elc + rm -f wl/*.elc wl/*~ wl/auto-autoloads.el wl/custom-load.el wl/wl-news.el elmo/*.elc utils/*.elc utils/hmac/lisp/*.elc package: $(XEMACS) $(FLAGS) -l WL-MK -f compile-wl-package-xmas $(PACKAGEDIR) $(PIXMAPDIR) @@ -50,13 +60,17 @@ info: install-info: $(EMACS) $(FLAGS) -l WL-MK -f install-wl-info $(INFODIR) +mostlyclean-info: + 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 + clean-info: mostlyclean-info - rm -f doc/*.info doc/*.info-* doc/*.dvi + rm -f doc/*.info doc/*.info-* -mostlyclean-info: - rm -f doc/*~ doc/*.aux doc/*.log doc/*.toc \ - doc/*.cp doc/*.fn doc/*.ky doc/*.pg doc/*.tp doc/*.vr \ - doc/*.cps doc/*.fns doc/*.kys doc/*.pgs doc/*.tps doc/*.vrs +mostlyclean-dvi: + rm -f doc/*~ doc/*.aux doc/*.log doc/*.toc + +clean-dvi: mostlyclean-dvi + rm -f doc/*.dvi all: elc @@ -64,4 +78,10 @@ install: install-elc uninstall: uninstall-elc -clean: clean-elc +mostlyclean: clean-elc mostlyclean-info mostlyclean-dvi + +clean: mostlyclean clean-dvi + +distclean: maintainer-clean + +maintainer-clean: clean clean-info