automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bugs/Features in handling of continued Makefile rules


From: Robert Collins
Subject: Re: Bugs/Features in handling of continued Makefile rules
Date: Sat, 22 Sep 2001 10:04:32 +1000

----- Original Message -----
From: "Raja R Harinath" <address@hidden>


> Hi,
>
> "Robert Collins" <address@hidden> writes:
> > ----- Original Message -----
> > From: "Dean Povey" <address@hidden>
> > Subject: Re: Bugs/Features in handling of continued Makefile rules
> >> ??? wrote:
> >> >Use
> >> >## Comment
> >> >They get omitted from Makefile.in.
> >>
> >> I know about ##, I just thought handling # in Make rules by
omitting them
> >> was a nicer then printing an error message.
> >
> > Ah, that makes more sense. What about moving the comment
before/after
> > the rule? That would preserve the comment (which is presumably the
> > reason it was entered) and save the Makefile.in semantics.
>
> Yep.
>
> However, I wouldn't want Automake to move the comments.  Automake
> isn't, and doesn't try to be, a make-rule validator for the
> user-written rules in Makefile.am.  It should not move things around
> inside the rules nor should it remove or add lines to those rules.

Yes. Equally however, I don't want Automake to _silently_ remove
comments from within Makefile rules. Thats equally bad :}.

Rob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]