Problem installing headers in subdirectories with [nobase_]pkginclude_HEADERS

2014-03-20 Thread Aurélien Vallée
Hello, I have a little problem with Automake to handle the subdirectories when installing headers. Here is roughly the project hierarchy that I have: foo/ foo-bin/ Makefile.am ... foo-tests/ Makefile.am ... foo-lib/ Makefile.am include/ foo/ header1.h

Problem installing headers in proper subdirectories

2014-03-20 Thread Aurélien Vallée
Hello, I have a little problem with Automake to handle the subdirectories when installing headers. Here is roughly the project hierarchy that I have: foo/ foo-bin/ Makefile.am ... foo-tests/ Makefile.am ... foo-lib/ Makefile.am include/ foo/ header1.h

Re: Problem installing headers in proper subdirectories

2014-03-20 Thread Nick Bowler
On 2014-03-20 14:12 +0200, Aurélien Vallée wrote: [snip exposition] > libfoo_la_SOURCES = \ > $(top_srcdir)/foo-lib/src/file1.cpp > > pkginclude_HEADERS = \ > $(top_srcdir)/foo-lib/include/foo/header1.h \ > $(top_srcdir)/foo-lib/include/foo/subdir/header2.h [...] > Now the problem: when inst