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 cb82da4..4cc6a27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,4 +18,5 @@ AC_OUTPUT([
 Makefile
 spice-protocol.pc
 spice/Makefile
+python_modules/Makefile
 ])
-- 
2.4.3

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to