This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

is using VPATH incompatible with "make dist"?


 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]