This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Deep packages, constructing the configure.am and Makefile.am
- To: automake@gnu.org
- Subject: Deep packages, constructing the configure.am and Makefile.am
- From: Alex Hornby <alex@anvil.co.uk>
- Date: Wed, 16 Jun 1999 16:14:39 +0100 (BST)
I would like my package to find all Makefile.am's at configure, as
this would make adding separate test directories easier. I cannot work
out the m4 magic to dynamically set up the AC_OUTPUT line.
Here is my current hand crafted example.
AC_OUTPUT([Makefile idl/Makefile useful/Makefile server/Makefile broadcast/Makefile session/Makefile Syb/Makefile filter/Makefile ],)
Has anyone got an m4 or shell function to do this? I have no objection
to manually setting SUBDIRS in each Makefile.am, but it seems
inelegant to enter the same information again in the configure.in.
Alex.