From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Newsgroups: gmane.emacs.bugs Subject: bug#6602: [PATCH] make dist target for Windows Date: Sat, 24 Jul 2010 20:04:57 -0600 Message-ID: <4C4B9BC9.2070007@gmail.com> References: <4C387CF9.4070301@gmail.com> <4C48ED04.2090407@gmail.com> <4C4A5B6A.9080700@gmail.com> <4C4B66D7.8010105@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1280023663 30661 80.91.229.12 (25 Jul 2010 02:07:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Jul 2010 02:07:43 +0000 (UTC) Cc: 6602@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 25 04:07:41 2010 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.69) (envelope-from ) id 1Ocqcs-0008Uy-Cn for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jul 2010 04:07:38 +0200 Original-Received: from localhost ([127.0.0.1]:33270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ocqcr-0005fI-OH for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jul 2010 22:07:37 -0400 Original-Received: from [140.186.70.92] (port=55109 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ocqcl-0005eO-4a for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 22:07:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ocqck-000733-1R for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 22:07:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33366) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ocqcj-00072z-Uy for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2010 22:07:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcqaM-0003Nq-Vn; Sat, 24 Jul 2010 22:05:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jul 2010 02:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6602 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 6602-submit@debbugs.gnu.org id=B6602.128002350113000 (code B ref 6602); Sun, 25 Jul 2010 02:05:02 +0000 Original-Received: (at 6602) by debbugs.gnu.org; 25 Jul 2010 02:05:01 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcqaK-0003Nd-Pr for submit@debbugs.gnu.org; Sat, 24 Jul 2010 22:05:01 -0400 Original-Received: from mail-yw0-f44.google.com ([209.85.213.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcqaJ-0003NY-5Q for 6602@debbugs.gnu.org; Sat, 24 Jul 2010 22:04:59 -0400 Original-Received: by ywa8 with SMTP id 8so237873ywa.3 for <6602@debbugs.gnu.org>; Sat, 24 Jul 2010 19:05:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=SAuN1HZHfE+WxtZ/EINanV/0ZB5UmO+5VG1FsMZCVVA=; b=dIgo2vNsqjSMi/DAr7/KwVKQqtoIh1aQVUGJ6HAaaEi//7DuBBHK6kFRVQ3aL1m1SP 7HABs64dWC84XDO22Zz2EsvSwb+ts4/R+i83TpPp7M5HGgfsmZvjX7FCHhihU2H2+dDy 9SLoksGfJ7O5mTU7eD1vuODRe2QZSClbdOr7M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=b9xoyOsyE5oN17uOi2alxP64Y8eTDiE+Yhq7NpdCr8BY+9ei2eV6A7P3JDMxlH0RBP kdA6UgqGnYSCu2SORrDPRTvu/3YUC5kt2n8LhW7xeVFsiRPzZLI2unCwE6z2Zu9dSKfn AFL3ANuN5wQlu7NHl80qf5BUIpOnpDNY5NyGk= Original-Received: by 10.100.198.19 with SMTP id v19mr5863639anf.233.1280023500269; Sat, 24 Jul 2010 19:05:00 -0700 (PDT) Original-Received: from [192.168.1.2] (97-122-118-250.hlrn.qwest.net [97.122.118.250]) by mx.google.com with ESMTPS id r7sm3420344anb.15.2010.07.24.19.04.58 (version=SSLv3 cipher=RC4-MD5); Sat, 24 Jul 2010 19:04:59 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 24 Jul 2010 22:05:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:38892 Archived-At: On 7/24/2010 7:01 PM, Juanma Barranquero wrote: > I noticed, but it was always possible to make a branch emacs-VERSION > and build the dist from here. > I suppose this change is for better, but it makes more difficult to > create a dist with a root directory named other than emacs-VERSION > (for my own use, for example, I call them just VERSION, ie., 23.1, > 23.2, 24.0.50, etc.). It'd be nice to have a way to customize this, > but don't lose time over it; "unzip& rename dir" is just a command > away :-) True. I didn't think of that. This is just the most common use case, I guess. My main intention behind this was to provide an easy and consistent way of producing snapshot and release distributions. Theoretically, you can edit the value of TMP_DIST_DIR in the Makefile to change the directory, too. > It is highly unlikely for the user to have a directory > nt/emacs-VERSION, but you overwrite it and then remove it, so it'd be > nice to check and refuse to do anything if it already exists. Actually, the mkdir command fails and the process stops with an error, if the directory already exists. I tested this before I added the DEL_TREE command. >> There is also a minor bugfix: README.W32 was not copied to the install >> directory when using `make install'. > > In fact, there's still a minor issue: README.W32 gets copied to > INSTALL_DIR and not removed. For example, I do all installations > in-place, and after make dist I end with a README.W32 at the root of > my trunk branch. (I've added exclusions to .(bzr|git)ignore, so it's > not much of an issue, but still...). Perhaps it should be added to `distclean'? Christoph