aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-04-19 16:50:15 +0100
committerTom Hacohen <tom@stosb.com>2013-04-19 16:50:15 +0100
commite723dc6348a15f9aef43c723cbb2dc5d571b857c (patch)
tree14758ad06db9c0c5da815efc1572584402d2f116 /data
parentecore_audio: Don't fail configure with --disable-audio (diff)
downloadefl-e723dc6348a15f9aef43c723cbb2dc5d571b857c.tar.gz
Eo libeo-gdb.py: Fixed up autofoo to not create it as root.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am14
1 files changed, 5 insertions, 9 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 2e2f4f1403..199f8ccb11 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@.@VMIC@-gdb.py: 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@.@VMIC@-gdb.py
-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@.@VMIC@-gdb.py
+eogdbloaddir = $(datadir)/gdb/auto-load/$(libdir)
+eogdbload_SCRIPTS = libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
-uninstall-hook:
- rm -f $(DESTDIR)$(datadir)/gdb/auto-load/$(libdir)/libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
-
-CLEANFILES += eo/libeo-gdb.py
+CLEANFILES += libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
EXTRA_DIST += $(eogdb_SCRIPTS) eo/libeo-gdb.py.in