From eb2e8ba0e8055a90f1425cacdb2c55660a087a6a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 6 Jul 2015 18:17:11 +0200 Subject: [PATCH] build-sys: Make sure new files are dist'ed The just added .proto files and python code generation code need to be added to EXTRA_DIST in order to be distributed in tarballs, and we need to recurse in the new python_modules directory. --- Makefile.am | 11 ++++++++++- configure.ac | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d2e49a4..e509dd6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,14 @@ NULL = -SUBDIRS = spice +SUBDIRS = python_modules spice + +codegendir = $(libdir)/spice-protocol +dist_codegen_DATA = \ + spice_codegen.py \ + spice.proto \ + spice1.proto \ + $(NULL) + +DISTCLEANFILES = *.pyc pkgconfigdir = $(datadir)/pkgconfig pkgconfig_DATA = spice-protocol.pc diff --git a/configure.ac b/configure.ac index ece6672..af0e48c 100644 --- a/configure.ac +++ b/configure.ac @@ -18,4 +18,5 @@ AC_OUTPUT([ Makefile spice-protocol.pc spice/Makefile +python_modules/Makefile ])