Files listed as _DATA in Makefile.am are installed without the
executable bit set, files listed as _SCRIPT do get the executable bit
set. As spice_codegen.py is meant to be run by spice-protocol users,
make sure this bit is set.
---
 Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 1082bf2..53e87be 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,11 +4,14 @@ SUBDIRS = python_modules spice
 
 codegendir = $(libdir)/spice-protocol
 dist_codegen_DATA =                    \
-       spice_codegen.py                \
        spice.proto                     \
        spice1.proto                    \
        $(NULL)
 
+dist_codegen_SCRIPTS =                 \
+       spice_codegen.py                \
+       $(NULL)
+
 DISTCLEANFILES = *.pyc
 
 pkgconfigdir = $(datadir)/pkgconfig
-- 
2.4.3

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to