Re: [Snowball-discuss] Using libstemmer_c with an autotools package

From: Vegard Nossum (vegard@peltkore.net)
Date: Mon Mar 26 2007 - 13:35:12 BST


On Mon, March 26, 2007 12:46 pm, Richard Boulton wrote:
> Is there any reason that the above solution doesn't work for some
> projects? If there is, I'd be happy to incorporate your solution
> somehow, but I don't want to make things unnecessarily complicated. I
> also like the neatness of only adding the public headers of libstemmer
> (ie, the header files in the include/ subdirectory) to the include paths
> of the other files in the project.

Hmm. Your solution is the better way.

My reason for flattening the directory structure was that I believed
`make' would not be able to find the source files unless new Makefile.am
files were made for each subdirectory. It seems that I was wrong.

I also wanted to make sure that the entire project would build and be
included in the `dist' target, but the simple Makefile.am also solves that
problem.

Thanks :-)

Vegard



This archive was generated by hypermail 2.1.3 : Thu Sep 20 2007 - 12:02:49 BST