[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vpath builds and nobase_include_HEADERS
From: |
Ralf Wildenhues |
Subject: |
Re: vpath builds and nobase_include_HEADERS |
Date: |
Thu, 4 Jun 2009 07:54:05 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Just because I think my reply is easily misunderstood:
* Ralf Wildenhues wrote on Thu, Jun 04, 2009 at 07:47:50AM CEST:
> * address@hidden wrote on Thu, Jun 04, 2009 at 12:24:29AM CEST:
> >
> > from lib1/Makefile.am
> >
> > nobase_include_HEADERS = \
> > $(header_file_list)
>
> The above is ok, the below is not.
You should keep the above two lines and just drop the next 8 lines:
> > lib1/header1.hh : lib1
> > for file in $(header_file_list) ; do \
> > nobase_file="`echo $$file | sed -e 's?lib1/??'`" ; \
> > $(LN_S) -f @HOST_ACDIR@/src/lib1/$$nobase_file lib1/. ; \
> > done
> >
> > lib1 :
> > mkdir lib1;
and then adjust -I paths and then be happy.
Cheers,
Ralf