]> xenbits.xensource.com Git - libvirt.git/commit
build: fix 'make dist' error
authorWen Congyang <wency@cn.fujitsu.com>
Thu, 13 Oct 2011 07:18:31 +0000 (15:18 +0800)
committerWen Congyang <wency@cn.fujitsu.com>
Sat, 15 Oct 2011 15:10:01 +0000 (23:10 +0800)
commit1afcfbdda0cac112faa61f74ec943e46aa43f2f5
tree0922bc93ea73f6a7f4d6a29f269b9a0bfd0ef490
parent7c23c34d38816d1d16ae6e1314280f06fe4d7706
build: fix 'make dist' error

When I run 'make dist', I receive the following error messages:
make[1]: Entering directory `/home/wency/source/libvirt/src'
  GEN    remote/remote_protocol.h
  GEN    remote/remote_protocol.c
  GEN    remote/qemu_protocol.h
  GEN    remote/qemu_protocol.c
  GEN    remote/qemu_client_bodies.h
  CC     libvirt_driver_remote_la-remote_protocol.lo
In file included from ./remote/remote_protocol.h:16,
                 from ./remote/remote_protocol.c:7:
/internal.h:249:23: error: probes.h: No such file or directory
make[1]: *** [libvirt_driver_remote_la-remote_protocol.lo] Error 1
make[1]: Leaving directory `/home/wency/source/libvirt/src'
make: *** [distdir] Error 1

The reason is that we use probes.h before generating it.
src/Makefile.am