Re: Silencing doxygen output

2010-11-10 Thread Ralf Wildenhues
Hi Erik,

* Erik de Castro Lopo wrote on Wed, Nov 10, 2010 at 12:45:03PM CET:
> I'm using AM_SILENT_RULES([yes]) to silence make output and I'm pretty
> happy with it. However, I have a doxygen command in a Makefile.am:
> 
> doxygen reference.doxygen
> 
> and I can't figure out how to silence it.

target: deps
$(AM_V_GEN)doxygen reference.doxygen

There is more information and a more complex example in the
documentation at 'info Automake --index silent-rules'.

Cheers,
Ralf



Re: Silencing doxygen output

2010-11-10 Thread Roger Leigh
On Wed, Nov 10, 2010 at 10:45:03PM +1100, Erik de Castro Lopo wrote:
> Hi all,
> 
> I'm using AM_SILENT_RULES([yes]) to silence make output and I'm pretty
> happy with it. However, I have a doxygen command in a Makefile.am:
> 
> doxygen reference.doxygen
> 
> and I can't figure out how to silence it.
> 
> Clues?

I use:

foo.log: foo.dox $(top_srcdir)/configure
$(RM) -rf foo/html
$(DOXYGEN) foo.dox
touch $@
@UNDOCUMENTED=$$(cat $@); \
if [ -n "$$UNDOCUMENTED" ]; then \
  echo "-- UNDOCUMENTED CODE --"; \
  echo "$$UNDOCUMENTED"; \
fi

with WARN_LOGFILE in foo.dox.  I would suggest just redirecting the
doxygen output to another file when running silently.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.


signature.asc
Description: Digital signature