Fix make distcheck

Fix make distcheck both with standalone spice-common and with spice
server.

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
This commit is contained in:
Marc-André Lureau 2015-11-24 02:05:55 +01:00
parent 401801b5ba
commit 56a0cf2dad
3 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
NULL =
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = common
SUBDIRS = common tests
MAINTAINERCLEANFILES = \
$(srcdir)/INSTALL \

View File

@ -9,7 +9,7 @@ test_marshallers_SOURCES = \
test-marshallers.h \
$(NULL)
test_marshallers_CFLAGS = \
-I$(top_srcdir)/common \
-I$(top_srcdir) \
$(GLIB2_CFLAGS) \
$(PROTOCOL_CFLAGS) \
$(NULL)
@ -45,6 +45,7 @@ generated_test_marshallers.h: $(srcdir)/test-marshallers.proto $(MARSHALLERS_DEP
EXTRA_DIST = \
$(TEST_MARSHALLERS) \
test-marshallers.proto \
$(NULL)
-include $(top_srcdir)/git.mk

View File

@ -1,8 +1,8 @@
#include <glib.h>
#include <string.h>
#include <marshaller.h>
#include <generated_test_marshallers.h>
#include "common/marshaller.h"
#include "generated_test_marshallers.h"
static uint8_t expected_data[] = { 0x02, 0x00, 0x00, 0x00, /* data_size */
0x08, 0x00, 0x00, 0x00, /* data offset */