automake-patches
[Top][All Lists]
Advanced

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

Re: Shell comments in make rules (was: backcompat5.test: avoid '##'-styl


From: Ralf Wildenhues
Subject: Re: Shell comments in make rules (was: backcompat5.test: avoid '##'-style comments inside recipe commands)
Date: Tue, 16 Nov 2010 20:15:23 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

* Stefano Lattarini wrote on Tue, Nov 16, 2010 at 08:11:11PM CET:
> On Tuesday 16 November 2010, Ralf Wildenhues wrote:
> 
> > > But even if it doesn't, shouldn't the comment in question be consired
> > > a shell comment anyway?  If that's not the case, well, I'd regard this
> > > behaviour as a severe bug in the OSF make implementation.
> > 
> > Yes, and it is quite well documented in
> >   info Autoconf 'Comments in Make Rules'
> But that only says:
>  "Some make treat anything starting with a tab as a command for the
>   current rule, even if the tab is immediately followed by a #."
> which is not relvant for the current situation.

Of course it is.  It means that you cannot put comments anywhere in a
makefile recipe command.  It's why 'find' complained.

Cheers,
Ralf



reply via email to

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