summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'data/Makefile.am')
-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