From b5988004d64d6c533e8bb09732a6f7cd4fb1194f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 12 May 2006 11:47:45 +0000 Subject: * Support for srcdir != builddir (NIX-41). --- src/nix-instantiate/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/nix-instantiate/Makefile.am') diff --git a/src/nix-instantiate/Makefile.am b/src/nix-instantiate/Makefile.am index 23f4fbf56..d1a87986f 100644 --- a/src/nix-instantiate/Makefile.am +++ b/src/nix-instantiate/Makefile.am @@ -11,5 +11,6 @@ main.o: help.txt.hh ../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1) AM_CXXFLAGS = \ - -I.. ${bdb_include} ${aterm_include} -I../libutil -I../libstore \ - -I../libexpr -I../libmain + ${bdb_include} ${aterm_include} \ + -I$(srcdir)/.. -I$(srcdir)/../libutil -I$(srcdir)/../libstore \ + -I$(srcdir)/../libexpr -I$(srcdir)/../libmain -I../libexpr -- cgit v1.2.3