]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix VPATH 'make check'
authorEric Blake <eblake@redhat.com>
Mon, 29 Jul 2013 13:00:00 +0000 (07:00 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 29 Jul 2013 13:13:55 +0000 (07:13 -0600)
commit7df291a647e37f2d31cf4cee8125320f8eb5419d
tree133418331b7304aeea20d52b172ddd99a8501a56
parent3347a4203278ec93d7b0ceb88b5ed10e4f14765c
build: fix VPATH 'make check'

A VPATH build 'make check' was failing with:

  GEN      check-driverimpls
Can't open ../../src/../../src/lxc/lxc_monitor_protocol.h: No such file or directory at ../../src/check-driverimpls.pl line 29, <> line 27153.
Can't open ../../src/../../src/lxc/lxc_monitor_protocol.c: No such file or directory at ../../src/check-driverimpls.pl line 29, <> line 27153.
...
  GEN      check-aclrules
cannot read ../../src/../../src/remote/remote_protocol.x at ../../src/check-aclrules.pl line 128.

because $(srcdir) was being prepended to file names that already
included it.

* src/Makefile.am (check-driverimpls): Don't add srcdir twice.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/Makefile.am