This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: getting header files distributed
- From: "Adam Monsen" <adamm at wazamatta dot com>
- To: "Thomas 'Tom' R. Treadway III" <treadway1 at llnl dot gov>
- Cc: Adam Monsen <adamm at wazamatta dot com>, automake at gnu dot org
- Date: Thu, 8 Jul 2004 17:18:40 -0700 (PDT)
- Subject: Re: getting header files distributed
- References: <9ebd6511040708144562bd9f68@mail.gmail.com><74FFE150-D131-11D8-ACB8-0003938ABF92@llnl.gov>
On Thu, July 8, 2004 3:52 pm, Thomas 'Tom' R. Treadway III said:
> I don't see include/ as part of SRCDIRS or at least DIST_SRCDIRS
> in Makefile.am
Do you mean SUBDIRS, DIST_SUBDIRS? Should include/ be in one of those?
> Don't seem to have Makefile.am in every directory.
Is this necessary? Is there a way to just say, "distribute everything in
include/ and its subdirectories"? This would be an easy thing to add to
the toplevel Makefile.am.
Would it be easier if all the header files were just in lib/, where the
libgsutils.a archive is built? The only problem is that src/lwc.c needs
those headers as well as the .c files in lib/, so I figure the .h files
need to be distributed. Any ideas?
I tried adding the dirs in include/ to AC_CONFIG_FILES in configure.ac,
then adding Makefile.am's everywhere in include/ that just have SUBDIRS
entries and or EXTRA_DIST entries, but 'make distcheck' still fails.
Arrrgh.
Thank you,
-Adam
> trt
>> In my project source root, I have header files for a shared library in
>> a directory, 'include/'. Is there an easy way to get this directory
>> included in the build so 'make distcheck' will work? I'm not sure, but
>> it seems like the VPATH build is failing. 'make dist' works fine.
>>
>> All source for this project is availble here (or should be soon):
>> http://prdownloads.sourceforge.net/gnewsuck/gnewsuck-0.01.tar.gz?
>> download
>>
>> The source can also be viewed here through a Web browser:
>> http://cvs.sourceforge.net/viewcvs.py/gnewsuck/gnewsuck/
>>
>> --
>> Adam Monsen <adamm@wazamatta.com>
>> http://adammonsen.com/
>>
>>
>>
> --
> Thomas R. Treadway
> Computer Scientist
> Lawrence Livermore Nat'l Lab
> 7000 East Avenue, L-365
> Livermore, CA 94550-0611
>
>
--
Adam Monsen <adamm@wazamatta.com>
http://adammonsen.com/