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