This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
is using VPATH incompatible with "make dist"?
- To: automake@gnu.org
- Subject: is using VPATH incompatible with "make dist"?
- From: Vadim Zeitlin <Vadim.zeitlin@dptmaths.ens-cachan.fr>
- Date: Tue, 22 Jun 1999 15:21:33 +0200 (CEST)
Hello,
the sources of my package are in the different directories, like this:
/
src
common
foo.cpp
gtk
bar.cpp
The library is being built by the Makefile.am from src/gtk which
sets VPATH to contain all the directories containing the sources
and then says something like
lib_wxgtk_la_SOURCES = foo.cpp bar.cpp
This works fine for "make" and even, with some contorsions, for
"make install" (contorsions are necessary to install the headers,
luckily the sources are not installed at all), but not for "make dist"
because when it tries to copy the files to the destdir it doesn't
find them, of course :-(
Is there a way to make "make dist" work somehow or is the only
solution to abandon using VPATH at all (which would be very sad,
indeed, because I don't have just 2 files foo and bar, but about
2 hundreds of them)?
Thanks a lot for any suggestions!
VZ