X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile;h=57c1aef5c432d526d15f9a7a832c3189f54580f2;hb=63442ecb9e5d48d35211596b53420470660499de;hp=55874cd8d2c0ccbf3b4bdde3943b45836bbe4a73;hpb=1e366a559be4aec4ad4d3cf3e954b8e62a20d2f3;p=elisp%2Fwanderlust.git diff --git a/Makefile b/Makefile index 55874cd..57c1aef 100644 --- a/Makefile +++ b/Makefile @@ -19,27 +19,37 @@ INFODIR = NONE # For XEmacs package. PACKAGEDIR = NONE +# For XEmacs or Emacs 21: directory where icon files should go. +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) + $(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) install-elc: - $(EMACS) $(FLAGS) -l WL-MK -f install-wl-package $(LISPDIR) + $(EMACS) $(FLAGS) -l WL-MK -f install-wl-package $(LISPDIR) $(PIXMAPDIR) uninstall-elc: - $(EMACS) $(FLAGS) -l WL-MK -f uninstall-wl-package $(LISPDIR) + $(EMACS) $(FLAGS) -l WL-MK -f uninstall-wl-package $(LISPDIR) $(PIXMAPDIR) clean-elc: - rm -f wl/*.elc 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 elmo/*.elc utils/*.elc utils/hmac/lisp/*.elc package: - $(XEMACS) $(FLAGS) -l WL-MK -f compile-wl-package-xmas $(PACKAGEDIR) + $(XEMACS) $(FLAGS) -l WL-MK -f compile-wl-package-xmas $(PACKAGEDIR) $(PIXMAPDIR) install-package: - $(XEMACS) $(FLAGS) -l WL-MK -f install-wl-package-xmas $(PACKAGEDIR) + $(XEMACS) $(FLAGS) -l WL-MK -f install-wl-package-xmas $(PACKAGEDIR) $(PIXMAPDIR) info: $(EMACS) $(FLAGS) -l WL-MK -f wl-texinfo-format $(INFODIR) @@ -47,10 +57,28 @@ 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-* + +mostlyclean-dvi: + rm -f doc/*~ doc/*.aux doc/*.log doc/*.toc + +clean-dvi: mostlyclean-dvi + rm -f doc/*.dvi + all: elc 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