[spice-protocol] build-sys: Make installed spice_codegen.py is executable

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

 



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@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]