[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: listing all sources
From: |
Stepan Kasal |
Subject: |
Re: listing all sources |
Date: |
Fri, 26 Aug 2005 18:51:35 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Fri, Aug 26, 2005 at 11:02:56AM -0400, Trevor Woerner wrote:
> 2) because the cfg directory is not part of $(SUBDIRS) but only
> $(DIST_SUBDIRS), the generation of its ".doxygen" file has to be
> special-cased in the top-level Makefile.am:
>
> doxygen/html/index.html: cfg/.doxygen $(addsuffix /.doxygen,$(DIST_SUBDIRS))
> $(DOXYGEN) ....
> cfg/.doxygen:
> touch cfg/.doxygen
So you don't have to mention cfg/.doxygen twice:
doxygen/html/index.html: $(addsuffix /.doxygen,$(DIST_SUBDIRS))
> kludgy, but it works :-)
Well, it's kludgy because you are using recursive make. See
http://www.pcug.org.au/~millerp/rmch/recu-make-cons-harm.html
Automake should be able to support non-recursive makefiels, see
http://sources.redhat.com/automake/automake.html#Alternative
Have a nice day,
Stepan Kasal