This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: $srcdir
- From: Harlan Stenn <Harlan dot Stenn at pfcs dot com>
- To: "Dr. David Kirkby" <drkirkby at ntlworld dot com>
- Cc: automake <automake at gnu dot org>
- Cc: Harlan dot Stenn at pfcs dot com
- Cc: "autoconf at gnu dot org" <autoconf at gnu dot org>
- Date: Wed, 05 Mar 2003 19:01:56 -0500
- Subject: Re: $srcdir
> But if I echo either $top_srcdir or $top_builddir, in the file
> tests/foo.test, they are both null, so I can't seem to find a way of
> referring to any files.
AC_OUTPUT your test scripts using foo.in -> foo rules, and include lines
like:
top_srdir= at top_srcdir@
in them.
Either that, or AC_OUTPUT a vbls.conf.in -> vbls.conf file which does this
and "source" this file in from your scripts.
H