Code

t/Makefile: Use top_srcdir rather than top_builddir.
authorSebastian Harl <sh@tokkee.org>
Sun, 22 Dec 2013 16:25:55 +0000 (17:25 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 22 Dec 2013 16:25:55 +0000 (17:25 +0100)
This allows running tests out-of-tree.

t/Makefile.am

index d7e40139f61a8adab8f41154ad5676c1db3eb1a3..20bba43bae213184f179f0afe01504152f93ac3a 100644 (file)
@@ -1,5 +1,5 @@
 AM_CFLAGS = @STRICT_CFLAGS@
-AM_CPPFLAGS = -I$(top_builddir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
 TESTS = libsysdb_test libsysdb_net_test
 check_PROGRAMS = libsysdb_test libsysdb_net_test