automake
[Top][All Lists]
Advanced

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

Re: Silencing doxygen output


From: Roger Leigh
Subject: Re: Silencing doxygen output
Date: Wed, 10 Nov 2010 13:43:29 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

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.

Attachment: signature.asc
Description: Digital signature


reply via email to

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