From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20106 invoked by alias); 24 Sep 2002 23:46:24 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20092 invoked from network); 24 Sep 2002 23:46:23 -0000 Received: from unknown (HELO delorie.com) (207.22.48.162) by sources.redhat.com with SMTP; 24 Sep 2002 23:46:23 -0000 Received: from envy.delorie.com (envy.delorie.com [207.22.48.171]) by delorie.com (8.11.6/8.9.1) with ESMTP id g8ONkL410826; Tue, 24 Sep 2002 19:46:21 -0400 Received: (from dj@localhost) by envy.delorie.com (8.11.6/8.11.2) id g8ONkL702524; Tue, 24 Sep 2002 19:46:21 -0400 Date: Tue, 24 Sep 2002 16:46:00 -0000 Message-Id: <200209242346.g8ONkL702524@envy.delorie.com> X-Authentication-Warning: envy.delorie.com: dj set sender to dj@delorie.com using -f From: DJ Delorie To: neroden@doctormoo.dyndns.org CC: gcc-patches@gcc.gnu.org, binutils@sources.redhat.com, gdb-patches@sources.redhat.com In-reply-to: <20020924233633.GA22064@doctormoo.dyndns.org> (message from Nathanael Nerode on Tue, 24 Sep 2002 19:36:33 -0400) Subject: Re: toplevel Makefile.in: autogenerate more References: <20020924233633.GA22064@doctormoo.dyndns.org> X-SW-Source: 2002-09/txt/msg00598.txt.bz2 > +# Rebuilding Makefile.in, using autogen. > +$(srcdir)/Makefile.in: $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def > + cd $(srcdir) && autogen Makefile.def As much as I like automation, this rule is bad. Not everyone has autogen, and those who don't shouldn't get penalized if they happen to get the timestamps rearranged. IIRC back when we were discussing using autogen, we decided that Makefile.in would not normally be built automatically, to avoid such things. It may be acceptable to make this target conditional on --enable-maintainer-mode, since maintainers are expected to have all the esoteric packages required for regens. Perhaps, for now, the rule could stay if it had a .PHONY target?