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: Building Emacs from CVS on windows nt failed Date: Sun, 17 Oct 2004 14:49:46 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <87is99mbf3.fsf-monnier+emacs@gnu.org> References: <004d01c4b44f$3cf4d1b0$0200a8c0@sedrcw11488> <009201c4b474$c50a2940$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098039021 31444 80.91.229.6 (17 Oct 2004 18:50:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Oct 2004 18:50:21 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 17 20:50:12 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CJG6d-0004wF-00 for ; Sun, 17 Oct 2004 20:50:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJGDt-0001mv-KX for ged-emacs-devel@m.gmane.org; Sun, 17 Oct 2004 14:57:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CJGDl-0001lN-CO for emacs-devel@gnu.org; Sun, 17 Oct 2004 14:57:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CJGDk-0001l3-PR for emacs-devel@gnu.org; Sun, 17 Oct 2004 14:57:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJGDk-0001kt-Lg for emacs-devel@gnu.org; Sun, 17 Oct 2004 14:57:32 -0400 Original-Received: from [209.226.175.184] (helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CJG6L-0000zH-Fh for emacs-devel@gnu.org; Sun, 17 Oct 2004 14:49:53 -0400 Original-Received: from alfajor ([67.71.117.80]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041017184946.TSON2542.tomts22-srv.bellnexxia.net@alfajor>; Sun, 17 Oct 2004 14:49:46 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 51BE7D7363; Sun, 17 Oct 2004 14:49:46 -0400 (EDT) Original-To: "Lennart Borgman" In-Reply-To: <009201c4b474$c50a2940$0200a8c0@sedrcw11488> (Lennart Borgman's message of "Sun, 17 Oct 2004 20:11:27 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28527 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28527 > doit: > cus-load.el: > touch $@ > custom-deps: cus-load.el doit > @echo Directories: $(WINS) > -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hooks > nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS) `doit' is there to make sure that `make custom-deps' is never considered as "built". Admittedly, since the file `custom-deps' doesn't exist any more than the file `doit', it's not very useful in this case, but it's a more generic pattern. IIRC the elisp function `custom-make-dependencies' fails if cus-load.el does not exist yet. That's why there is a `cus-load.el' rule which does nothing more than ensure that the file exists (if it already exists, then the `cus-load.el' rule is not executed since there is no dependency). > Does not this always fail the first time, before cus-load.el exists? It's always worked for me. Your `touch' program seems odd in that it seems to refuse to create a file, even though `touch' is often used exactly for this purpose. Stefan