Hi all,
sorry for the long titlein the subject, but it is a little hard to explain
the problem in a single line.
I'm trying to put under automake/autoconf control an already develelopped
application.
For some strange reason the creator fo this application split the
development in a ridicoulus number of subdirectories.
I've already managed to generate an appropriate Makefile.am for every
directories and I'm now able to generate a set of libraries (one for every
singol directory and to link them all to the file whith the main entry
point.
However the creator of the project tought it would have been better to
create a set of directories dedicated to keep only the include files.
This is the development tree:
+--lib_a
|
|--src
|--inc
|
+--lib_b
|
|--src
|--inc
The problem I have with this 'design' is that I cannot find a way to
include these 'include files' in the tarball I obtain using
> make dist
I've tried adding something similar to the src/Makefile.am
EXTRA_foo_a_SOURCES = ../inc/filename.h
but, as expected, the '../' path is not something automake likes.
I'm using automake 1.6.3 and autoconf 2.57.
Thanks.
Lapo