This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bugs/Features in handling of continued Makefile rules


Hi,

"Robert Collins" <robert.collins@itdomain.com.au> writes:
> ----- Original Message -----
> From: "Dean Povey" <povey@dstc.qut.edu.au>
> 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 ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]