summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-07-06 18:17:11 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-08-07 11:54:46 +0200
commiteb2e8ba0e8055a90f1425cacdb2c55660a087a6a (patch)
tree65ff03dfde545f6000cd6acdb40b21454dba5604
parent26eb4e0f2edf6e6183ef8bd9a35564d72260e5e0 (diff)
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.
-rw-r--r--Makefile.am11
-rw-r--r--configure.ac1
2 files changed, 11 insertions, 1 deletions
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
])