summaryrefslogtreecommitdiff
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
parent94ae0e906d0d4a4e17d0ca7f3978e469b473fb18 (diff)
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 2e2f4f1..199f8cc 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -39,18 +39,14 @@ eogdbdir = $(datadir)/eo/gdb
39eogdb_SCRIPTS = eo/eo_gdb.py 39eogdb_SCRIPTS = eo/eo_gdb.py
40 40
41# Borrowed from gobject 41# Borrowed from gobject
42eo/libeo-gdb.py: eo/libeo-gdb.py.in 42libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py: eo/libeo-gdb.py.in
43 $(MKDIR_P) eo 43 $(MKDIR_P) eo
44 $(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/eo/libeo-gdb.py.in > $(builddir)/eo/libeo-gdb.py 44 $(AM_V_GEN) $(SED) -e "s|\@datadir\@|$(datadir)|" $(srcdir)/eo/libeo-gdb.py.in > $(builddir)/libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
45 45
46install-data-hook: eo/libeo-gdb.py 46eogdbloaddir = $(datadir)/gdb/auto-load/$(libdir)
47 $(MKDIR_P) $(DESTDIR)$(datadir)/gdb/auto-load/$(libdir) 47eogdbload_SCRIPTS = libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
48 $(INSTALL) $(builddir)/eo/libeo-gdb.py $(DESTDIR)$(datadir)/gdb/auto-load/$(libdir)/libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
49 48
50uninstall-hook: 49CLEANFILES += libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
51 rm -f $(DESTDIR)$(datadir)/gdb/auto-load/$(libdir)/libeo.so.@VMAJ@.@VMIN@.@VMIC@-gdb.py
52
53CLEANFILES += eo/libeo-gdb.py
54 50
55EXTRA_DIST += $(eogdb_SCRIPTS) eo/libeo-gdb.py.in 51EXTRA_DIST += $(eogdb_SCRIPTS) eo/libeo-gdb.py.in
56 52