[glib] Install gdb Python helpers as data, not as executable scripts



commit e3f59e482bfab48ef715d57f3cd28e49f23e947f
Author: Simon McVittie <smcv debian org>
Date:   Fri Mar 3 10:53:52 2017 +0000

    Install gdb Python helpers as data, not as executable scripts
    
    They do not start with the #!/usr/bin/python that would be necessary
    to make them run with Python rather than a shell, and they would
    not be useful to run anyway: they are libraries to be imported,
    not scripts to be run.
    
    Signed-off-by: Simon McVittie <smcv debian org>

 glib/Makefile.am    |    2 +-
 gobject/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/Makefile.am b/glib/Makefile.am
index 87cca42..d755853 100644
--- a/glib/Makefile.am
+++ b/glib/Makefile.am
@@ -478,7 +478,7 @@ dist-hook: $(BUILT_EXTRA_DIST) $(top_builddir)/win32/vs9/glib.vcproj $(top_build
 
 # install gdb scripts
 gdbdir = $(datadir)/glib-2.0/gdb
-dist_gdb_SCRIPTS = glib_gdb.py
+dist_gdb_DATA = glib_gdb.py
 
 libglib-gdb.py: libglib-gdb.py.in
        $(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/libglib-gdb.py.in > 
$(builddir)/libglib-gdb.py
diff --git a/gobject/Makefile.am b/gobject/Makefile.am
index b12743c..a4fb370 100644
--- a/gobject/Makefile.am
+++ b/gobject/Makefile.am
@@ -261,7 +261,7 @@ distclean-local:
 
 # install gdb scripts
 gdbdir = $(datadir)/glib-2.0/gdb
-dist_gdb_SCRIPTS = gobject_gdb.py
+dist_gdb_DATA = gobject_gdb.py
 
 libgobject-gdb.py: libgobject-gdb.py.in
        $(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/libgobject-gdb.py.in > 
$(builddir)/libgobject-gdb.py


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