forked from enlightenment/efl
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>
This commit is contained in:
parent
4d0483608e
commit
c9fe6d64a8
|
@ -48,14 +48,16 @@ EXTRA_DIST += $(efreetfiles_DATA)
|
||||||
########################################################################
|
########################################################################
|
||||||
# Eo
|
# Eo
|
||||||
eogdbdir = $(datadir)/eo/gdb
|
eogdbdir = $(datadir)/eo/gdb
|
||||||
eogdb_SCRIPTS = eo/eo_gdb.py
|
eogdb_DATA = eo/eo_gdb.py
|
||||||
|
EXTRA_DIST += $(eogdb_DATA)
|
||||||
|
|
||||||
# Borrowed from gobject
|
# Borrowed from gobject
|
||||||
libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py: eo/libeo-gdb.py.in
|
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
|
$(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)
|
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
|
CLEANFILES += libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue