summary refs log tree commit diff
path: root/src/nix-store/Makefile.am
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-05-12 11:47:45 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-05-12 11:47:45 +0000
commitb5988004d64d6c533e8bb09732a6f7cd4fb1194f (patch)
treeb8768d77c2a3a3557436e22997c3128ed069fda7 /src/nix-store/Makefile.am
parent9d72bf8835f3012169aaa88ec608172d5a056b9e (diff)
downloadguix-b5988004d64d6c533e8bb09732a6f7cd4fb1194f.tar.gz
* Support for srcdir != builddir (NIX-41).
Diffstat (limited to 'src/nix-store/Makefile.am')
-rw-r--r--src/nix-store/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix-store/Makefile.am b/src/nix-store/Makefile.am
index 5cfa52e5e0..83fa24fca1 100644
--- a/src/nix-store/Makefile.am
+++ b/src/nix-store/Makefile.am
@@ -10,4 +10,5 @@ main.o: help.txt.hh
 	../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1)
 
 AM_CXXFLAGS = \
- -I.. ${bdb_include} $(aterm_include) -I../libutil -I../libstore -I../libmain
+ -I$(srcdir)/.. ${bdb_include} $(aterm_include) -I$(srcdir)/../libutil \
+ -I$(srcdir)/../libstore -I$(srcdir)/../libmain