* nnmail.el (nnmail-cache-insert): make sure that the
[gnus] / lisp / Makefile.in
index 75985da..b0b5447 100644 (file)
@@ -6,7 +6,7 @@ subdir = lisp
 top_srcdir = @top_srcdir@
 
 EMACS = @EMACS@
-FLAGS = -batch -q -no-site-file -l $(srcdir)/dgnushack.el
+FLAGS = @FLAGS@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 SHELL = /bin/sh
@@ -15,29 +15,29 @@ W3DIR = @W3@
 URLDIR = @URL@
 EMACS_COMP = URLDIR=$(URLDIR) W3DIR=$(W3DIR) lispdir=$(lispdir) srcdir=$(srcdir) $(EMACS) $(FLAGS)
 
-all total: clean-some gnus-load.elc
+all total: clean-some gnus-load.el
        $(EMACS_COMP) -f dgnushack-compile
 
 clean-some:
-       rm -f *.elc gnus-load.el
+       rm -f *.elc gnus-load.el auto-autoloads.* custom-load.*
 
-warn: clean-some gnus-load.elc
+warn: clean-some gnus-load.el
        $(EMACS_COMP) --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: gnus-load.elc
+clever some l: gnus-load.el
        $(EMACS_COMP) -f dgnushack-compile
 
 install: install-el install-elc 
 
-install-el:
+install-el: gnus-load.el
        $(SHELL) $(top_srcdir)/mkinstalldirs $(lispdir)
        echo " $(INSTALL_DATA) gnus-load.el $(lispdir)/gnus-load.el"
        $(INSTALL_DATA) gnus-load.el $(lispdir)/gnus-load.el
        for p in *.elc; do \
          p=`basename $$p c`; \
-         if [ -e "$(srcdir)/$$p" ]; then \
+         if [ -f "$(srcdir)/$$p" ]; then \
            echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \
            $(INSTALL_DATA) $(srcdir)/$$p $(lispdir)/$$p; \
          fi; \
@@ -69,13 +69,13 @@ separately:
 pot:
        xpot -drgnus -r`cat ./version` *.el > rgnus.pot
 
-gnus-load.elc:
+gnus-load.el:
        $(EMACS_COMP) -f dgnushack-make-cus-load $(srcdir)
        $(EMACS_COMP) -f dgnushack-make-auto-load $(srcdir)
        $(EMACS_COMP) -f dgnushack-make-load
 
 distclean:
-       rm -f *.orig *.rej *.elc *~ Makefile
+       rm -f *.orig *.rej *.elc auto-autoloads.* custom-load.* *~ Makefile
 
 Makefile: $(srcdir)/Makefile.in ../config.status
        cd .. \