message.el (message-hide-headers): Bind inhibit-modification-hooks to t rather than...
[gnus] / lisp / Makefile.in
index a645315..4dfe2f0 100644 (file)
@@ -12,20 +12,23 @@ INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 SHELL = /bin/sh
 VPATH = @srcdir@
-W3DIR = @W3@
-URLDIR = @URL@
-EMACS_COMP = URLDIR="$(URLDIR)" W3DIR="$(W3DIR)" lispdir="$(lispdir)" srcdir=$(srcdir) $(EMACS) $(FLAGS)
+EMACS_COMP = lispdir="$(lispdir)" srcdir=$(srcdir) $(EMACS) $(FLAGS)
+GZIP_PROG = @GZIP_PROG@
+COMPRESS_INSTALL = @COMPRESS_INSTALL@
 
-all total: clean-some gnus-load.el
+all total: clean-some
+       $(MAKE) gnus-load.el
        $(EMACS_COMP) -f dgnushack-compile
 
 clean-some:
        rm -f *.elc gnus-load.el auto-autoloads.* custom-load.*
 
-warn: clean-some gnus-load.el
+warn: clean-some
+       $(MAKE) 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"
 
-fail-on-warning: clean-some gnus-load.el
+fail-on-warning: clean-some
+       $(MAKE) gnus-load.el
        $(EMACS_COMP) -f dgnushack-compile-error-on-warn
 
 # The "clever" rule is unsafe, since redefined macros are loaded from
@@ -53,6 +56,10 @@ install-el: gnus-load.el
          if [ -f "$(srcdir)/$$p" ]; then \
            echo "$(INSTALL_DATA) $$p \"$(DESTDIR)$(lispdir)/$$p\""; \
            $(INSTALL_DATA) $(srcdir)/$$p "$(DESTDIR)$(lispdir)/$$p"; \
+           if test $(COMPRESS_INSTALL) = yes -a -n "$(GZIP_PROG)"; then \
+             rm -f "$(DESTDIR)$(lispdir)/$$p.gz"; \
+             $(GZIP_PROG) -9n "$(DESTDIR)$(lispdir)/$$p"; \
+           fi; \
          fi; \
        done
 
@@ -73,6 +80,10 @@ install-el-elc: clever
          if [ -f "$(srcdir)/$$q" ]; then \
            echo "$(INSTALL_DATA) $$q \"$(DESTDIR)$(lispdir)/$$q\""; \
            $(INSTALL_DATA) $(srcdir)/$$q "$(DESTDIR)$(lispdir)/$$q"; \
+           if test $(COMPRESS_INSTALL) = yes -a -n "$(GZIP_PROG)"; then \
+             rm -f "$(DESTDIR)$(lispdir)/$$q.gz"; \
+             $(GZIP_PROG) -9n "$(DESTDIR)$(lispdir)/$$q"; \
+           fi; \
          fi; \
          echo "$(INSTALL_DATA) $$p \"$(DESTDIR)$(lispdir)/$$p\""; \
          $(INSTALL_DATA) $$p "$(DESTDIR)$(lispdir)/$$p"; \
@@ -90,7 +101,7 @@ uninstall:
        done
        cd $(srcdir); \
        for p in *.el; do \
-         rm -f "$(DESTDIR)$(lispdir)/$$p"; \
+         rm -f "$(DESTDIR)$(lispdir)/$$p" "$(DESTDIR)$(lispdir)/$$p.gz"; \
        done
 
 tags: