+# The "clever" rule is unsafe, since redefined macros are loaded from
+# .elc files, and not the .el file.
+clever some l: gnus-load.el
+ @if test -f $(srcdir)/gnus.elc; then \
+ echo \
+ "checking whether the all elc files should be recompiled..."; \
+ RM_ELC=nil; \
+ if test `$(EMACS) -batch -q -no-site-file \
+ -eval '(prin1 (featurep (quote xemacs)))' \
+ 2>/dev/null` = t; then \
+ if test ! -f $(srcdir)/gnus-xmas.elc; then RM_ELC=t; fi; \
+ else \
+ if test -f $(srcdir)/gnus-xmas.elc; then RM_ELC=t; fi; \
+ fi; \
+ if test $$RM_ELC = t; then \
+ echo " => maybe yes;" \
+ "rm -f *.elc auto-autoloads.el custom-load.el"; \
+ rm -f *.elc auto-autoloads.el custom-load.el; \
+ else \
+ echo " => maybe unnecessary"; \
+ fi; \
+ fi
+ $(EMACS_COMP) -f dgnushack-compile