]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix 'make distcheck' with pdwtags installed
authorEric Blake <eblake@redhat.com>
Tue, 4 Oct 2011 16:24:40 +0000 (10:24 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 7 Oct 2011 00:59:02 +0000 (18:59 -0600)
commit2d45ae5a013a0353688d92c3e93b7e53a2939a96
treedc7c7299bf76ff5f8d3ad55e2c3232bced9a1008
parent6dd8532d96b0512ddb3b10cae8f51e16389d9cc7
build: fix 'make distcheck' with pdwtags installed

I am getting this failure with 'make distcheck':

  GEN    ../../src/remote_protocol-structs
/bin/sh: ../../src/remote_protocol-structs-t: Permission denied
make[4]: *** [../../src/remote_protocol-structs] Error 1

since it attempts a sub-run of a VPATH 'make check' where $(srcdir)
is intentionally read-only.  I'm not sure which commit introduced
the problem, although I suspect it was around 62dee6f when I
refactored protocol struct checking to be more powerful.

$(@F) is required by POSIX, and although it is not yet portable
to all make implementations, we already require GNU make.

* src/Makefile.am (PDWTAGS): Generate temp file into current
directory, since $(srcdir) is read-only during distcheck.
src/Makefile.am