From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: Re: [PATCH] nt/gmake,defs, nt/nmake.defs Date: Sun, 20 Jan 2008 00:01:05 +0200 Message-ID: References: <200801152218.m0FMIjGx041292@member.newsguy.com> <47911D24.4010409@gnu.org> <4791D691.50406@gnu.org> <47926AA7.3070804@newsguy.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1200780081 14836 80.91.229.12 (19 Jan 2008 22:01:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Jan 2008 22:01:21 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Bill Meier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 19 23:01:40 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JGLkt-0002pV-Nn for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Jan 2008 23:01:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGLkU-0000Ey-UB for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Jan 2008 17:01:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGLkP-0000Et-Hq for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2008 17:01:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGLkN-0000EZ-RE for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2008 17:01:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGLkN-0000EW-NI for bug-gnu-emacs@gnu.org; Sat, 19 Jan 2008 17:01:03 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGLkJ-00069e-JO; Sat, 19 Jan 2008 17:00:59 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-117-69.inter.net.il [84.229.117.69]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id IXL98068 (AUTH halo1); Sat, 19 Jan 2008 23:58:28 +0200 (IST) In-reply-to: <47926AA7.3070804@newsguy.com> (message from Bill Meier on Sat, 19 Jan 2008 16:24:55 -0500) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17380 Archived-At: > Date: Sat, 19 Jan 2008 16:24:55 -0500 > From: Bill Meier > CC: Eli Zaretskii , Jason Rumney > > I'm inclined to do the fix as follows (comments welcome): > > 1. In lisp/makefile.w32-in: > For the install target: change 'cp -f' to '($CP)' > > 2. In configure.bat, gmake.defs and nmake.defs: > Add appropiate code so as to test for the availability of 'cp -p' and > to define CP (and CP_DIR) to include (or not) the '-p' option. As I wrote earlier, I'd prefer that you use Emacs's copy-file primitive to copy files. That would certainly work on all supported platforms, without requiring a cp that supports the -p option. I suspect that testing for the support of -p in a way that works on all Windows shells would be a hard job anyway.