mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
f3ec338b76
Original commit message from CVS: * Makefile.am: * configure.ac: * gst/Makefile.am: * pygst.py.in: Modifications to have parallel-installable gst-python Works more or less in the same way as pygtk: import pygst pygst.require('0.9') import gst
33 lines
759 B
Makefile
33 lines
759 B
Makefile
if BUILD_DOCS
|
|
SUBDIRS_DOCS = docs
|
|
else
|
|
SUBDIRS_DOCS =
|
|
endif
|
|
|
|
UNCONDDIRS = examples gst pkgconfig testsuite
|
|
SUBDIRS = \
|
|
$(UNCONDDIRS) \
|
|
$(SUBDIRS_DOCS)
|
|
DIST_SUBDIRS = $(UNCONDDIRS) docs
|
|
|
|
EXTRA_DIST = \
|
|
ltihooks.py \
|
|
gst-python.spec.in \
|
|
gst-python.spec \
|
|
README-docs \
|
|
RELEASE
|
|
|
|
include $(top_srcdir)/common/release.mak
|
|
|
|
# install pth file.
|
|
install-data-local:
|
|
$(mkinstalldirs) $(DESTDIR)$(pythondir)
|
|
echo "gst-$(GST_MAJORMINOR)" > $(DESTDIR)$(pyexecdir)/pygst.pth
|
|
install-exec-local:
|
|
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)
|
|
echo "gst-$(GST_MAJORMINOR)" > $(DESTDIR)$(pyexecdir)/pygst.pth
|
|
uninstall-local:
|
|
rm -f $(DESTDIR)$(pythondir)/pygst.pth $(DESTDIR)$(pyexecdir)/pygst.pth
|
|
|
|
# this file is common to all pygtk versions.
|
|
pyexec_PYTHON = pygst.py
|