[Spice-commits] Makefile.am

Christophe Fergau teuf at kemper.freedesktop.org
Tue Aug 11 01:29:50 PDT 2015


 Makefile.am |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 03a28f58569524300f22a8401f4f6ca6b0037e54
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Mon Aug 10 18:00:45 2015 +0200

    build-sys: Make installed spice_codegen.py is executable
    
    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.

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


More information about the Spice-commits mailing list