summaryrefslogtreecommitdiff
path: root/data
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 /data
parent4d0483608e3b794fdec29a8e82d67f21df3baac8 (diff)
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>
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index c36f3b2..af969da 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -48,14 +48,16 @@ EXTRA_DIST += $(efreetfiles_DATA)
48######################################################################## 48########################################################################
49# Eo 49# Eo
50eogdbdir = $(datadir)/eo/gdb 50eogdbdir = $(datadir)/eo/gdb
51eogdb_SCRIPTS = eo/eo_gdb.py 51eogdb_DATA = eo/eo_gdb.py
52EXTRA_DIST += $(eogdb_DATA)
52 53
53# Borrowed from gobject 54# Borrowed from gobject
54libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py: eo/libeo-gdb.py.in 55libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py: eo/libeo-gdb.py.in
55 $(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/eo/libeo-gdb.py.in > $(builddir)/libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py 56 $(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/eo/libeo-gdb.py.in > $(builddir)/libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
56 57
57eogdbloaddir = $(datadir)/gdb/auto-load/$(libdir) 58eogdbloaddir = $(datadir)/gdb/auto-load/$(libdir)
58eogdbload_SCRIPTS = libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py 59eogdbload_DATA = libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
60EXTRA_DIST += $(eogdbload_DATA)
59 61
60CLEANFILES += libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py 62CLEANFILES += libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
61 63