(clean): New rule.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 26 Jan 2006 09:01:39 +0000 (09:01 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 26 Jan 2006 09:01:39 +0000 (09:01 +0000)
(distclean): Use it.

etc/Makefile.in
lisp/ChangeLog
lisp/Makefile.in

index 517bfad..db088c8 100644 (file)
@@ -13,7 +13,7 @@ INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 SHELL = /bin/sh
 
-install: 
+install:
        $(SHELL) $(top_srcdir)/mkinstalldirs $(etcdir)
        cd $(srcdir) \
        && for p in gnus-tut.txt; do \
@@ -33,7 +33,7 @@ install:
          $(INSTALL_DATA) $$p $(etcdir)/$$p; \
        done
 
-uninstall: 
+uninstall:
        rm -f $(etcdir)/gnus-tut.txt
        cd $(srcdir) \
        && for p in images/gnus/*.xpm images/gnus/*.pbm images/gnus/*.xbm images/gnus/x-splash; do \
@@ -51,8 +51,11 @@ Makefile: $(srcdir)/Makefile.in ../config.status
        cd .. \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
-distclean:
-       rm -f *~ Makefile
+clean:
+       rm -f *~
+
+distclean: clean
+       Makefile
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
index 1eed4b9..3ecea04 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-26  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * Makefile.in (clean): New rule.
+       (distclean): Use it.
+
 2006-01-26  Steve Youngs  <steve@sxemacs.org>
 
        * gmm-utils.el (gmm-tool-bar-item, gmm-tool-bar-zap-list): Don't
index 15e7340..df6acc9 100644 (file)
@@ -96,8 +96,11 @@ gnus-load.el:
        $(EMACS_COMP) -f dgnushack-make-auto-load $(srcdir)
        $(EMACS_COMP) -f dgnushack-make-load
 
-distclean:
-       rm -f *.orig *.rej *.elc auto-autoloads.* custom-load.* *~ Makefile
+clean:
+       rm -f *.elc *.orig *.rej *~ auto-autoloads.* custom-load.* gnus-load.el
+
+distclean: clean
+       rm -f Makefile
 
 Makefile: $(srcdir)/Makefile.in ../config.status
        cd .. \