Re: listing all sources

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux