From c9fe6d64a8a3a88631777107fbf89aa5824163c8 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Wed, 24 Sep 2014 10:26:35 +0200 Subject: [PATCH] eo: use the "EXTRA_DIST" macro to install .py files Summary: The SCRIPTS macro will add the executable flag (+x) to the Python scripts ; but as these do not have a shebang (#!/bin/python) and we are executing them explicitly with "python ...", it is useless. Plus, some build environments will issue a warning about this. Reviewers: tasn, JackDanielZ Subscribers: mbachmann Projects: #efl Differential Revision: https://phab.enlightenment.org/D1469 Signed-off-by: Cedric BAIL --- data/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data/Makefile.am b/data/Makefile.am index c36f3b2f4f..af969da91e 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -48,14 +48,16 @@ EXTRA_DIST += $(efreetfiles_DATA) ######################################################################## # Eo eogdbdir = $(datadir)/eo/gdb -eogdb_SCRIPTS = eo/eo_gdb.py +eogdb_DATA = eo/eo_gdb.py +EXTRA_DIST += $(eogdb_DATA) # Borrowed from gobject libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py: eo/libeo-gdb.py.in $(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/eo/libeo-gdb.py.in > $(builddir)/libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py eogdbloaddir = $(datadir)/gdb/auto-load/$(libdir) -eogdbload_SCRIPTS = libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py +eogdbload_DATA = libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py +EXTRA_DIST += $(eogdbload_DATA) CLEANFILES += libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py