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: Raja R Harinath
Subject: Re: Bugs/Features in handling of continued Makefile rules
Date: Fri, 21 Sep 2001 12:55:02 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.105

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.

- Hari
-- 
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash



reply via email to

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