Update.
[elisp/wanderlust.git] / Makefile
index 2261861..298b853 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ uninstall-elc:
        $(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) $(PIXMAPDIR)
@@ -50,10 +50,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