diff Makefile.in.in @ 1889:bf8be6575eae

[xemacs-hg @ 2004-01-28 11:20:34 by stephent] configure fixes <87ektkgw4y.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Wed, 28 Jan 2004 11:20:42 +0000
parents baca156a450b
children 6aa2e57a873e
line wrap: on
line diff
--- a/Makefile.in.in	Tue Jan 27 22:50:44 2004 +0000
+++ b/Makefile.in.in	Wed Jan 28 11:20:42 2004 +0000
@@ -532,8 +532,15 @@
 ##      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 lisp/auto-autoloads.el* lisp/custom-load.el*
+	$(RM) lisp/mule/auto-autoloads.el* lisp/mule/custom-load.el*
+	$(RM) modules/auto-autoloads.el* modules/custom-load.el*
 
 ## `distclean'
 ##      Delete all files from the current directory that are created by