On Fri, July 9, 2004 10:59 am, Thomas 'Tom' R. Treadway III said: > >> 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. > Do the .h files get installed? My want to used HEADERS=
Ahh, right. noinst_HEADERS, actually. Thanks! 'make distcheck' now works! I appreciate your help. Can I buy you a beer? >> Arrrgh. > > Where's it failing? > The compile part? > the distcheck, make use of $(srcdir), VPATH, so in the process of doing > the > install part, the .c Makefiles would reference > AM_CPPFLAGS=-I$(top_srcdir)/include >> >> 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 <[EMAIL PROTECTED]> >>>> http://adammonsen.com/ >>>> >>>> >>>> >>> -- >>> Thomas R. Treadway >>> Computer Scientist >>> Lawrence Livermore Nat'l Lab >>> 7000 East Avenue, L-365 >>> Livermore, CA 94550-0611 >>> >>> >> >> >> -- >> Adam Monsen <[EMAIL PROTECTED]> >> http://adammonsen.com/ >> >> > -- > Thomas R. Treadway > Computer Scientist > Lawrence Livermore Nat'l Lab > 7000 East Avenue, L-365 > Livermore, CA 94550-0611 > > -- Adam Monsen <[EMAIL PROTECTED]> http://adammonsen.com/