From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Making a script to update and compile from CVS Date: Thu, 13 Jan 2005 18:38:06 -0500 Message-ID: References: <001801c4f9b8$0cfaacb0$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105660318 22743 80.91.229.6 (13 Jan 2005 23:51:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Jan 2005 23:51:58 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 14 00:51:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CpEkp-0003FA-00 for ; Fri, 14 Jan 2005 00:51:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CpEwV-00034i-37 for ged-emacs-devel@m.gmane.org; Thu, 13 Jan 2005 19:03:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CpEuZ-0002cC-Sz for emacs-devel@gnu.org; Thu, 13 Jan 2005 19:01:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CpEuR-0002Yb-DS for emacs-devel@gnu.org; Thu, 13 Jan 2005 19:01:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CpEuR-0002VT-0S for emacs-devel@gnu.org; Thu, 13 Jan 2005 19:01:47 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CpEXf-0006Qe-GM for emacs-devel@gnu.org; Thu, 13 Jan 2005 18:38:15 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 97D0882828D; Thu, 13 Jan 2005 18:38:10 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id A2ADD4AC0BF; Thu, 13 Jan 2005 18:38:06 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 7633E4BD59; Thu, 13 Jan 2005 18:38:06 -0500 (EST) Original-To: "Lennart Borgman" In-Reply-To: <001801c4f9b8$0cfaacb0$0200a8c0@sedrcw11488> (Lennart Borgman's message of "Thu, 13 Jan 2005 22:36:55 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.72, requis 5, autolearn=not spam, AWL 0.18, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:32215 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32215 > Now I wonder in what order to do this. Should something like this be ok: Here is what I do, typically: % tla star-merge OR cvs update % (cd lisp; make updates recompile) % if some files failed to compile, (cd lisp; make recompile) % make I don't actually do `make install' because I always work directly "in situ", which is important when I do C-h f so I can click to get to the source and start editing directly in the Arch/CVS tree. Sometimes the above fails because the changes require a more complex bootstrap. In that case, I generally resort to my intuition and knowledge to come up with an ad-hoc way to bootstrap, and if all else really fails, I end up resorting to `make bootstrap' but since that takes a long while I really make every effort to avoid it. Sometimes the above succeeds but with incorrectly compiled .elc files (typically because of macros which were not defined when the file was compiled). I catch those problems "lazily" (i.e. only when and if I actually use the code). Stefan