This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Installing header files
- To: automake at gnu dot org
- Subject: Installing header files
- From: Martin Frydl <martin at idoox dot com>
- Date: Mon, 15 Oct 2001 19:23:56 +0200
- List-Id: Discussion list for automake <automake.gnu.org>
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