aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2014-09-24 10:26:35 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-09-24 10:26:40 +0200
commitc9fe6d64a8a3a88631777107fbf89aa5824163c8 (patch)
treeb88a3f48622da939e6bc58befb8575b0d7977bd1
parentautotools: modified autogen.sh to be able to build from any directory. (diff)
downloadefl-c9fe6d64a8a3a88631777107fbf89aa5824163c8.tar.gz
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 <cedric@osg.samsung.com>
-rw-r--r--data/Makefile.am6
1 files 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