[spice-protocol 2/4] build-sys: Make sure new files are dist'ed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]