This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Installing header files


Hi,

	I'm not able to install header files in subdirectories. I've seen a
posting on this,
http://mail.gnu.org/pipermail/automake/2001-August/009388.html, but I'm
not able to make it work.

	I have a directory containing just subdirectories with headers, no
other code. I tried just this:

	nobase_include_HEADERS = dir1/file1.h dir2/file2.h

	but I get errors:

	include/Makefile.am:: variable `include_HEADERS' not defined

	I tried to define it somehow, but I haven't succeeded. I tried these
two:

	includedir=@includedir@
	nobase_includedir=@includedir@

	I tried using just

	include_HEADERS = dir1/file1.h dir2/file2.h

	and it works, except that it copies files ignoring subdirectories.

	I also tried the second suggested possibility, i.e. to use two
variables each for one directory. This works good. But I would like to
use the nobase_ feature (I have automake 1.5 so why not use its
features?).

	May be I'm missing something here. Can someone help me?

	Thanks
		Martin Frydl


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]