automake
[Top][All Lists]
Advanced

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

Re: EH: some warning message, please?


From: Stepan Kasal
Subject: Re: EH: some warning message, please?
Date: Wed, 14 Sep 2005 10:38:00 +0200
User-agent: Mutt/1.4.1i

Hello,

On Wed, Sep 14, 2005 at 12:28:03AM +0200, Alexandre Duret-Lutz wrote:
> >>> "HD" == Harald Dunkel <address@hidden> writes:
>  HD> Would it be possible to tell Automake to print some
>  HD> warning message for this bad Makefile.am:
> 
>  HD> PreciousUtils_checker_SOURCES =
>  HD>         precious/Utils/unittest/src/SLListTest.cc \
>  HD>         precious/Utils/unittest/src/checker.cc
> 
> Not with the current parser. [...]
> Tabs are the only way for Automake to recognize rules.

but a rule should be formed by a line not starting with tab, followed
by several lines which do start with tab.

Otherwise, make complains.  Observe:
$ printf '\ta:\n\techo x\n'|make -f -
/tmp/GmbxV37f:1: *** commands commence before first target.  Stop.

The current parser recognizes the first line of the example above as
variable assignment, so it should then complain about "commands without
any target".

Have a nice day,
        Stepan Kasal




reply via email to

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