automake
[Top][All Lists]
Advanced

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

Re: make automake less verbose (try 2)


From: Jan Engelhardt
Subject: Re: make automake less verbose (try 2)
Date: Wed, 5 Nov 2008 06:51:35 +0100 (CET)
User-agent: Alpine 1.10 (LNX 962 2008-03-14)

On Friday 2008-10-24 03:19, Jan Engelhardt wrote:
>On Thursday 2008-10-23 19:20, Ralf Wildenhues wrote:
[...]

I noticed that AM_VERBOSE_YACC is not used when in the .l.c and
.y.c rules. Do you know why?

>>>  ## In fast-dep mode, we can always use -o.
>>>  ## For non-suffix rules, we must emulate a VPATH search on %SOURCE%.
>>>  ?!GENERIC? %COMPILE% -MT %OBJ% -MD -MP -MF %DEPBASE%.Tpo %-c% -o %OBJ% 
>>> `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE% && \
>>> @@ -71,6 +72,7 @@ if %FASTDEP%
>>>  ?GENERIC??SUBDIROBJ?       %COMPILE% -MT %OBJ% -MD -MP -MF %DEPBASE%.Tpo 
>>> %-c% -o %OBJ% %SOURCE% &&\
>>>     mv -f %DEPBASE%.Tpo %DEPBASE%.Po
>>
>>How come you didn't address the mv calls?  Should be possible with
>>something like
>>        am__at = @
>>        AM__AT = $(am__at$(V))
>>
>>      $(AM__AT)mv -f %DEPBASE%.Tpo %DEPBASE%.Po
>
>I did not want to overdo it. Non-compile lines are rare in my
>projects, and I guess you could call me lazy here. Feel free to
>add a AM_VERBOSE_MV and AM_VERBOSE_RM if you feel like. Users
>will probably like it because it goes in line with the
>compile-quietness of AM_VERBOSE_CC.

I actually tried adding an am__verbose_RM, and had to notice that
it cannot be done.

        clean-libtool:
                ${am__verbose_RM}rm -f *.lo

Well, now what. *.lo is neither available in $@ nor $^. The same
goes for mv. So these have only the verbose form.

Now as to why I did not do $(AM__AT), eh, simply because I want to
see *something* (either "MV foo -> bar" or "mv foo bar"), but not
nothing.
On top, the mv you quoted is part of the compile line, so is not
visible in the first place ;)




reply via email to

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