warn:
rm -f *.elc ; $(EMACS) $(FLAGS) --eval '(dgnushack-compile t)' 2>&1 | egrep -v "variable G|inhibit-point-motion-hooks|coding-system|temp-results|variable gnus|variable nn|scroll-in-place|deactivate-mark|filladapt-mode|byte-code-function-p|print-quoted|ps-right-header|ps-left-header|article-inhibit|print-escape|ssl-program-arguments|message-log-max"
+# The "clever" rule is unsafe, since redefined macros are loaded from
+# .elc files, and not the .el file.
clever some:
$(EMACS) $(FLAGS) -f dgnushack-compile
echo >> gnus-load.el
echo ";;; gnus-load.el ends here" >> gnus-load.el
-distclean:
- rm -f *.orig *.rej *.elc *~ Makefile
- rm -f auto-autoload.el custom-load.el
+clean:
+ rm -f *.orig *.rej *.elc *~
+ rm -f auto-autoloads.el custom-load.el
+
+distclean: clean
+ rm -f Makefile
Makefile: $(srcdir)/Makefile.in ../config.status
cd .. \