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