tasn pushed a commit to branch master.

commit e723dc6348a15f9aef43c723cbb2dc5d571b857c
Author: Tom Hacohen <[email protected]>
Date:   Fri Apr 19 16:50:15 2013 +0100

    Eo libeo-gdb.py: Fixed up autofoo to not create it as root.
---
 data/Makefile.am | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index 2e2f4f1..199f8cc 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -39,18 +39,14 @@ eogdbdir = $(datadir)/eo/gdb
 eogdb_SCRIPTS = eo/eo_gdb.py
 
 # Borrowed from gobject
-eo/libeo-gdb.py: eo/libeo-gdb.py.in
+libeo.so.@VMAJ@.@VMIN@.@[email protected]: eo/libeo-gdb.py.in
        $(MKDIR_P) eo
-       $(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" 
$(srcdir)/eo/libeo-gdb.py.in > $(builddir)/eo/libeo-gdb.py
+       $(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" 
$(srcdir)/eo/libeo-gdb.py.in > $(builddir)/libeo.so.@VMAJ@.@VMIN@.@[email protected]
 
-install-data-hook: eo/libeo-gdb.py
-       $(MKDIR_P) $(DESTDIR)$(datadir)/gdb/auto-load/$(libdir)
-       $(INSTALL) $(builddir)/eo/libeo-gdb.py 
$(DESTDIR)$(datadir)/gdb/auto-load/$(libdir)/libeo.so.@VMAJ@.@VMIN@.@[email protected]
+eogdbloaddir = $(datadir)/gdb/auto-load/$(libdir)
+eogdbload_SCRIPTS = libeo.so.@VMAJ@.@VMIN@.@[email protected]
 
-uninstall-hook:
-       rm -f 
$(DESTDIR)$(datadir)/gdb/auto-load/$(libdir)/libeo.so.@VMAJ@.@VMIN@.@[email protected]
-
-CLEANFILES += eo/libeo-gdb.py
+CLEANFILES += libeo.so.@VMAJ@.@VMIN@.@[email protected]
 
 EXTRA_DIST += $(eogdb_SCRIPTS) eo/libeo-gdb.py.in
 

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

Reply via email to