From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jmarant@nerim.net (=?iso-8859-15?q?J=E9r=F4me_Marant?=) Newsgroups: gmane.emacs.devel Subject: Re: [patch] leim/Makefile.in: make distclean should make clean Date: Mon, 16 Feb 2004 22:28:14 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87fzda4sup.fsf@marant.org> References: <87y8r4i27c.fsf@marant.org> <200402152335.IAA17134@etlken.m17n.org> <2914-Mon16Feb2004113906+0200-eliz@elta.co.il> <2832.62.160.59.178.1076935035.squirrel@webmail.nerim.net> <9681-Mon16Feb2004181325+0200-eliz@elta.co.il> <1076951222.4030f8b6a47af@imp2-q.free.fr> <216-Mon16Feb2004215430+0200-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1076966932 11834 80.91.224.253 (16 Feb 2004 21:28:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2004 21:28:52 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Feb 16 22:28:44 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AsqIG-0004w1-00 for ; Mon, 16 Feb 2004 22:28:44 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AsqIG-0007Kq-00 for ; Mon, 16 Feb 2004 22:28:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AsqHD-0002Qm-Op for emacs-devel@quimby.gnus.org; Mon, 16 Feb 2004 16:27:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AsqGi-0001pE-Cf for emacs-devel@gnu.org; Mon, 16 Feb 2004 16:27:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AsqFT-0000OB-NQ for emacs-devel@gnu.org; Mon, 16 Feb 2004 16:26:23 -0500 Original-Received: from [62.4.16.101] (helo=kraid.nerim.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AsqFS-0000LN-8O for emacs-devel@gnu.org; Mon, 16 Feb 2004 16:25:50 -0500 Original-Received: from amboise (jmarant.net1.nerim.net [62.212.105.6]) by kraid.nerim.net (Postfix) with ESMTP id E08EC418B8 for ; Mon, 16 Feb 2004 22:25:40 +0100 (CET) Original-Received: by amboise (Postfix, from userid 1000) id 33F722C03C; Mon, 16 Feb 2004 22:28:15 +0100 (CET) Original-To: emacs-devel@gnu.org In-Reply-To: <216-Mon16Feb2004215430+0200-eliz@elta.co.il> (Eli Zaretskii's message of "Mon, 16 Feb 2004 21:54:30 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19997 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19997 "Eli Zaretskii" writes: >> Date: Mon, 16 Feb 2004 18:07:02 +0100 >> From: =3D?iso-8859-1?b?Suly9G1l?=3D Marant >>=20 >> I'm currently working on an emacs-snapshot Debian package >> which will make us easier to prepare upcoming stable releases >> and to find problems with the build system ASAP. >>=20 >> I'm building it from a tarball I do generate from make-dist >> and every time I clean the package, I remove .elc files >> as well as autogenerated .el ones. > > I think this warrants a special target to remove all *.elc files. > The situation you describe is pretty much special. Currently, .elc files are not really a problem for me: I do remove them with a simple combination of find and rm. >> There is a rationale for removing them: we usually apply >> patches (which may modify .el files) prior to bootstrapping >> emacs, so we need to regenerate them anyway. > > That doesn't require to remove them first: Make will DTRT when it sees > that the corresponding *.el files changed, and will compile only those > which are in the need. But this doesn't need my requirements: the Debian packaging scheme generates a diff between the pristine tree and the set of files added by the packaging; since autogenerated files are no part of the pristine tree, they'd be considered as packaging-specific which I don't want to. Basically, I'd need a bootstrap-clean target that would clean any file generated by the bootstrap (both .elc and autogenerated .el). I didn't find anything do this. Cheers, --=20 J=E9r=F4me Marant