Gnus development mailing list
 help / color / mirror / Atom feed
From: Karra <karra@cs.utah.edu>
Subject: "make" in lisp/ not doing The Right Thing?
Date: Wed, 20 Feb 2002 20:15:58 +0530	[thread overview]
Message-ID: <a50dcp$g6g$1@quimby2.netfonds.no> (raw)

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]


Is there any good reason for the following behaviour:  _all_ .elc
files are built from the .el files, even if they are newer than the
corresponding .el files.

If not, please consider the following patch, or some variation thereof.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: my.diff --]
[-- Type: text/x-patch, Size: 1375 bytes --]

Index: lisp/Makefile.in
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/Makefile.in,v
retrieving revision 6.9
diff -u -r6.9 Makefile.in
--- lisp/Makefile.in	2002/01/11 02:36:58	6.9
+++ lisp/Makefile.in	2002/02/20 14:43:10
@@ -19,7 +19,7 @@
 	$(EMACS_COMP) -f dgnushack-compile
 
 clean-some:
-	rm -f *.elc gnus-load.el
+	rm -f gnus-load.el
 
 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"
Index: lisp/dgnushack.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/dgnushack.el,v
retrieving revision 6.28
diff -u -r6.28 dgnushack.el
--- lisp/dgnushack.el	2002/02/20 00:15:30	6.28
+++ lisp/dgnushack.el	2002/02/20 14:43:12
@@ -264,7 +264,7 @@
     (dolist (file files)
       (setq file (expand-file-name file srcdir))
       (when (and (file-exists-p
-		  (setq elc (concat (file-name-nondirectory file) "c")))
+		  (setq elc (concat srcdir (file-name-nondirectory file) "c")))
 		 (file-newer-than-file-p file elc))
 	(delete-file elc)))
 

[-- Attachment #3: Type: text/plain, Size: 77 bytes --]


-- 
"Have you ever fought an IDEA, Picard?"
      -- Gowron, Star Trek TNG.

             reply	other threads:[~2002-02-20 14:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-20 14:45 Karra [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-20 14:45 Karra
2002-02-20 15:03 ` Simon Josefsson
2002-02-20 15:03 ` Simon Josefsson
2002-02-20 15:15 ` ShengHuo ZHU
2002-02-20 15:15 ` ShengHuo ZHU
2002-02-20 15:23   ` ShengHuo ZHU
2002-02-20 15:23   ` ShengHuo ZHU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='a50dcp$g6g$1@quimby2.netfonds.no' \
    --to=karra@cs.utah.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).