diff Makefile.in.in @ 1232:c08a6fa181d1

[xemacs-hg @ 2003-01-23 11:38:56 by stephent] commit notice <87lm1cksms.fsf@tleepslib.sk.tsukuba.ac.jp> autoloads patch <87lm1ig654.fsf@tleepslib.sk.tsukuba.ac.jp> Martin's info.el patch <877kd5je7e.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Thu, 23 Jan 2003 11:39:01 +0000
parents 6af03f821bbe
children f99d3d25df86
line wrap: on
line diff
--- a/Makefile.in.in	Thu Jan 23 11:24:13 2003 +0000
+++ b/Makefile.in.in	Thu Jan 23 11:39:01 2003 +0000
@@ -555,9 +555,16 @@
 ##      with them.
 
 ##      Delete `.dvi' files here if they are not part of the distribution.
+
+##      Remove the generated load files here; they cause lots of problems
+##      when they don't work right.  (beta can't depend on distclean, which
+##      removes necessary files generated by configure.)
 clean: FRC.clean
 	for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done
-	$(RM) core
+	$(RM) core lisp/auto-autoloads.el* lisp/custom-load.el*
+	$(RM) lisp/mule/auto-autoloads.el* lisp/mule/custom-load.el*
+	$(RM) ${srcdir}/modules/auto-autoloads.el*
+	$(RM) ${srcdir}/modules/custom-load.el*
 
 ## `distclean'
 ##      Delete all files from the current directory that are created by