Commits

Anonymous committed e9375aa

Fixes make clean/distclean

Comments (0)

Files changed (2)

+2000-08-22  Steve Youngs  <youngs@xemacs.org>
+
+	* Makefile: Remove target 'clean' because it's covered in XEmacs.rules.
+	(EXTRA_OBJS): New variable.
+
 1999-12-05  Andreas Jaeger  <aj@suse.de>
 
 	* Makefile (clean): Also clean vm-autoload.elc and vm.elc.
 DATA_FILES = $(shell echo etc/*.x??)
 DATA_DEST = $(PACKAGE)
 
+EXTRA_OBJS = vm-autoload.el* vm.elc
+
 include ../../XEmacs.rules
 
 all:: $(ELCS) vm-autoload.elc vm.elc auto-autoloads.elc $(PACKAGE).info
 	@$(XEMACS) -vanilla -batch -l ./make-autoloads -f print-autoloads \
 		$(ELCS:.elc=.el) >> vm-autoload.el
 
-clean::
-	rm -f $(ELCS) $(PACKAGE).info* $(AUTOLOAD_PATH)/auto-autoloads.elc \
-		$(AUTOLOAD_PATH)/custom-load.elc vm-autoload.el \
-		vm-autoload.elc vm.elc
-
-
 # VM requires an installed XEmacsen instead of the usual makeinfo
 vm.info: vm.texi
 	$(XEMACS) -vanilla -batch -insert vm.texi -l texinfmt -f texinfo-format-buffer -f save-buffer