Fix distcheck

Follow-up to !18 and #320.
This commit is contained in:
Tim-Philipp Müller 2018-11-08 14:09:32 +00:00
parent bc621cc335
commit b92e34ebfd

View file

@ -32,9 +32,14 @@ endif
EXTRA_DIST = ptp_helper_post_install.sh EXTRA_DIST = ptp_helper_post_install.sh
DISTCLEANFILES = libgstreamer-gdb.py
# install gdb scripts # install gdb scripts
gdbdir = $(datadir)/gstreamer-@GST_API_VERSION@/gdb gdbdir = $(datadir)/gstreamer-@GST_API_VERSION@/gdb
dist_gdb_DATA = gst_gdb.py glib_gobject_helper.py dist_gdb_DATA = gst_gdb.py glib_gobject_helper.py
install-data-hook: install-data-hook:
$(INSTALL) -D $(builddir)/libgstreamer-gdb.py $(DESTDIR)$(datadir)/gdb/auto-load$(libdir)/libgstreamer-@GST_API_VERSION@.so.0.$(GST_CURRENT).$(GST_REVISION)-gdb.py $(INSTALL) -D $(builddir)/libgstreamer-gdb.py $(DESTDIR)$(datadir)/gdb/auto-load$(libdir)/libgstreamer-@GST_API_VERSION@.so.0.$(GST_CURRENT).$(GST_REVISION)-gdb.py
uninstall-hook:
rm -f "$(DESTDIR)$(datadir)/gdb/auto-load$(libdir)/libgstreamer-@GST_API_VERSION@.so.0.$(GST_CURRENT).$(GST_REVISION)-gdb.py"