This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

variables in AC_OUTPUT


 Hello,

 I'm writing a makefile for a library which comes with many samples. There
is a samples subdirectory with the Makefileam looking like this:

        SUBDIRS = @SAMPLES_SUBDIRS@

and the SAMPLES_SUBDIRS variables if defined by configure. Each of the
subdirs has its own Makefile.am.

 As not all samples will be built, I tried to not generate the makefiles
for those which won't. For this, I constructed a variable holding the
list of all makefiles to be built and used it in AC_OUTPUT(). This works
fine with configure, but automake chokes on it - it can't find
$SAMPLES_MAKEFILES.in :-(

 So this approach apparently can't work, but I can't think about anything
else except generating all the makefiles. I'd be grateful for any advices
on how to do it.

 Thanks in advance,
VZ


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]