This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: problem with VPATH
- To: Ionutz Borcoman <borco@borco-ei.eng.hokudai.ac.jp>
- Subject: Re: problem with VPATH
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 23 May 1999 09:33:33 -0300
- Cc: "automake@gnu.org" <automake@gnu.org>
- References: <3744A847.A9FF1C79@borco-ei.eng.hokudai.ac.jp>
On May 20, 1999, Ionutz Borcoman <borco@borco-ei.eng.hokudai.ac.jp> wrote:
> But the problem is that VPATH is empty, if I run the "make check", and
> of the form /dir1/dir2/.../dirN, if I run "make distcheck".
> What is the right way to get the path to your config files so they work
> in all the cases ?
Pass srcdir=$(srcdir) in TESTS_ENVIRONMENT, and getenv("srcdir") in
your test program.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists