build-sys: provide --sysconfdir to make distcheck flags
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 24 May 2012 02:05:04 +0000 (23:05 -0300)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 5 Jun 2012 03:54:46 +0000 (00:54 -0300)
test-blacklist is accessing the wrong location in make distcheck, making
the test to fail. Fix is by providing --sysconfdir=/etc in configure
flags.

Makefile.am

index e04e7f7..c3d380c 100644 (file)
@@ -191,7 +191,7 @@ testsuite-distclean:
 DISTCLEAN_LOCAL_HOOKS += testsuite-distclean
 EXTRA_DIST += testsuite/rootfs
 
-DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --sysconfdir=/etc
 
 distclean-local: $(DISTCLEAN_LOCAL_HOOKS)