[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to handle data/script files in a VPATH build ?
From: |
Sylvestre Ledru |
Subject: |
How to handle data/script files in a VPATH build ? |
Date: |
Wed, 03 Feb 2010 12:24:10 +0100 |
Hello,
I am trying to enable the VPATH path build of a software.
The whole compilation process is fine but I am stuck at the end of the
process.
I need to call a script to finish the build process. This script will be
run against data files.
In my Makefile.am, I have:
all-local: macros
macros: $(top_builddir)/bin/myscript
$(top_builddir)/bin/myscript $(top_builddir)/dataDir/myData.sci
Obviously, this works when I am building my application in the source
tree but it fails when building as VPATH.
I cannot change top_builddir by top_srcdir since I need both the data
and script to be available in the build tree.
Is there a trick here ? (besides adding specific install target for the
VPATH case for each SUBDIRS).
Thanks
Sylvestre
- How to handle data/script files in a VPATH build ?,
Sylvestre Ledru <=
- Re: How to handle data/script files in a VPATH build ?, Peter Johansson, 2010/02/03
- Re: How to handle data/script files in a VPATH build ?, Sylvestre Ledru, 2010/02/06
- Re: How to handle data/script files in a VPATH build ?, Sylvestre Ledru, 2010/02/09
- Re: How to handle data/script files in a VPATH build ?, Ralf Wildenhues, 2010/02/09
- Re: How to handle data/script files in a VPATH build ?, Steffen Dettmer, 2010/02/10
- Re: How to handle data/script files in a VPATH build ?, Ralf Wildenhues, 2010/02/10
- Re: How to handle data/script files in a VPATH build ?, Steffen Dettmer, 2010/02/12